diff options
| author | daurnimator <quae@daurnimator.com> | 2019-11-17 02:46:44 +1100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-11-17 22:29:49 +0000 |
| commit | 4e28d7a5f7d6346acc42a7524dd77fa5f9322029 (patch) | |
| tree | 510e517a76dd45320081692775a9485ad647c599 /src/ir.cpp | |
| parent | 8e3370367bbbcae43670380cb4ca841a9e5ada33 (diff) | |
| download | zig-4e28d7a5f7d6346acc42a7524dd77fa5f9322029.tar.gz zig-4e28d7a5f7d6346acc42a7524dd77fa5f9322029.zip | |
fix bug on empty error union
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 1 |
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, "}"); |
