aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-29 20:01:56 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-11-29 20:01:56 -0500
commita68e9a19429b0b5e08800e8ec90be2f7402d9ff3 (patch)
treea0b6b6433370a78e674eb56b69a8c01db63139d5 /compile.c
parent69613e6c03809bcb82ffdaee7820df5a0ead7a6f (diff)
Update docs and minor bugfix
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 33073785..8c82c4bc 100644
--- a/compile.c
+++ b/compile.c
@@ -3717,7 +3717,7 @@ CORD compile_type_info(env_t *env, type_t *t)
type_t *non_optional = Match(t, OptionalType)->type;
return CORD_asprintf("Optional$info(%zu, %zu, %r)", type_size(t), type_align(t), compile_type_info(env, non_optional));
}
- case TypeInfoType: return CORD_all("TypeInfo$info(", CORD_quoted(type_to_cord(Match(t, TypeInfoType)->type)), ")");
+ case TypeInfoType: return CORD_all("Type$info(", CORD_quoted(type_to_cord(Match(t, TypeInfoType)->type)), ")");
case MemoryType: return "&Memory$info";
case VoidType: return "&Void$info";
default: