aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/analyze.cpp
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2021-01-11 11:19:24 -0700
committerVeikka Tuominen <git@vexu.eu>2021-01-30 22:26:44 +0200
commit0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8 (patch)
tree1a9a37f1a5fc96b56044f74c186101d5ac862654 /src/stage1/analyze.cpp
parent1637d8ac80b46599e276eb767208f54f0a30ccf0 (diff)
downloadzig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.tar.gz
zig-0b5f3c2ef96df02341cdf54f6eefb3cdb88781d8.zip
Replace @TagType uses, mostly with std.meta.Tag
Diffstat (limited to 'src/stage1/analyze.cpp')
-rw-r--r--src/stage1/analyze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage1/analyze.cpp b/src/stage1/analyze.cpp
index 6bc97d323a..c701abce8a 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, "@typeInfo(%s).Enum.tag_type", buf_ptr(&union_type->name));
+ buf_appendf(&tag_type->name, "@typeInfo(%s).Union.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;