aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index d50229925c..7bca551852 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -8128,7 +8128,6 @@ static ZigType *get_error_set_union(CodeGen *g, ErrorTableEntry **errors, ZigTyp
}
}
assert(index == count);
- assert(count != 0);
if (type_name == nullptr) {
buf_appendf(&err_set_type->name, "}");