diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2021-01-11 11:04:38 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-01-30 13:19:58 +0200 |
| commit | 1637d8ac80b46599e276eb767208f54f0a30ccf0 (patch) | |
| tree | 1990400fd1d63579cff6e552f91d7139513e6c49 /src/stage1/analyze.cpp | |
| parent | b7767eb834084adc9db94b9ed961aaa2756fc018 (diff) | |
| download | zig-1637d8ac80b46599e276eb767208f54f0a30ccf0.tar.gz zig-1637d8ac80b46599e276eb767208f54f0a30ccf0.zip | |
remove @TagType
Diffstat (limited to 'src/stage1/analyze.cpp')
| -rw-r--r-- | src/stage1/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1/analyze.cpp b/src/stage1/analyze.cpp index faf66f59f3..6bc97d323a 100644 --- a/src/stage1/analyze.cpp +++ b/src/stage1/analyze.cpp @@ -3267,7 +3267,7 @@ static Error resolve_union_zero_bits(CodeGen *g, ZigType *union_type) { tag_type = new_type_table_entry(ZigTypeIdEnum); buf_resize(&tag_type->name, 0); - buf_appendf(&tag_type->name, "@TagType(%s)", buf_ptr(&union_type->name)); + buf_appendf(&tag_type->name, "@typeInfo(%s).Enum.tag_type", buf_ptr(&union_type->name)); tag_type->llvm_type = tag_int_type->llvm_type; tag_type->llvm_di_type = tag_int_type->llvm_di_type; tag_type->abi_size = tag_int_type->abi_size; |
