aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index 09d8b96f..c4c126ad 100644
--- a/compile.c
+++ b/compile.c
@@ -422,8 +422,8 @@ CORD compile_type_info(env_t *env, type_t *t)
{
switch (t->tag) {
case BoolType: return "&Bool_type";
- case IntType: return CORD_asprintf("&Int%ld_type", Match(t, IntType)->bits);
- case NumType: return CORD_asprintf("&Num%ld_type", Match(t, NumType)->bits);
+ case IntType: return CORD_asprintf("&Int%ld_type.type", Match(t, IntType)->bits);
+ case NumType: return CORD_asprintf("&Num%ld_type.type", Match(t, NumType)->bits);
case StringType: return CORD_all("&", Match(t, StringType)->dsl ? Match(t, StringType)->dsl : "Str", "_type");
case StructType: return CORD_all("&", Match(t, StructType)->name, "_type");
case EnumType: return CORD_all("&", Match(t, EnumType)->name, "_type");