aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-02-09 00:24:23 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-02-09 00:24:23 -0500
commit32c988a2d7920fcd3da50a13a1ae9abcd57daf50 (patch)
tree68c847a2648eed20a70f1d2d01de795dfda98b0b /src/analyze.cpp
parent916d24cd2111559b0694d9579872832f4764a391 (diff)
downloadzig-32c988a2d7920fcd3da50a13a1ae9abcd57daf50.tar.gz
zig-32c988a2d7920fcd3da50a13a1ae9abcd57daf50.zip
fix build runner on windows
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index b6f08b7aec..bf7b6e363f 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -543,6 +543,7 @@ TypeTableEntry *get_error_union_type(CodeGen *g, TypeTableEntry *err_set_type, T
if (type_has_bits(err_set_type)) {
entry->type_ref = err_set_type->type_ref;
entry->di_type = err_set_type->di_type;
+ g->error_di_types.append(&entry->di_type);
} else {
entry->zero_bits = true;
entry->di_type = g->builtin_types.entry_void->di_type;