aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-07-11 14:08:20 +0300
committerVexu <git@vexu.eu>2020-07-11 17:41:33 +0300
commit8110639c7964fcb23c2b715f97ab6caa27506b93 (patch)
tree9556ad058e4001c0f0789a0fc82fc570e2d91d32 /src/codegen.cpp
parentc2fb4bfff3b1a2bf4e7072cec04d67e8152900c1 (diff)
downloadzig-8110639c7964fcb23c2b715f97ab6caa27506b93.tar.gz
zig-8110639c7964fcb23c2b715f97ab6caa27506b93.zip
add 'anytype' to stage1 and langref
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 2f72861bc2..3473a2b0ac 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -8448,8 +8448,8 @@ static void define_builtin_types(CodeGen *g) {
}
{
ZigType *entry = new_type_table_entry(ZigTypeIdOpaque);
- buf_init_from_str(&entry->name, "(var)");
- g->builtin_types.entry_var = entry;
+ buf_init_from_str(&entry->name, "(anytype)");
+ g->builtin_types.entry_anytype = entry;
}
for (size_t i = 0; i < array_length(c_int_type_infos); i += 1) {