diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-12-09 20:01:13 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-12-09 20:01:13 -0500 |
| commit | e9efa74333b4890b2598c96dc7df4761965e6819 (patch) | |
| tree | 578fe751aa813d41469440bc0a53063a46d61ec6 /src/analyze.cpp | |
| parent | f466e539ef27d1cf90e2b163d5afbcf0bffc0aa5 (diff) | |
| download | zig-e9efa74333b4890b2598c96dc7df4761965e6819.tar.gz zig-e9efa74333b4890b2598c96dc7df4761965e6819.zip | |
partial parameter decl parsing
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 431b64f984..1d5d5e4790 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -2227,7 +2227,7 @@ static void resolve_union_zero_bits(CodeGen *g, TypeTableEntry *union_type) { tag_type = new_type_table_entry(TypeTableEntryIdEnum); buf_resize(&tag_type->name, 0); - buf_appendf(&tag_type->name, "@EnumTagType(%s)", buf_ptr(&union_type->name)); + buf_appendf(&tag_type->name, "@TagType(%s)", buf_ptr(&union_type->name)); tag_type->is_copyable = true; tag_type->type_ref = tag_int_type->type_ref; tag_type->zero_bits = tag_int_type->zero_bits; |
