mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Fix internal compiler error trigger for issue #212
This commit is contained in:
1 parent
e2eca45188
commit
e71a641379
2 files changed
+8
No files matched your search
@@ -5544,6 +5544,10 @@ ExprKind check_expr_base_internal(Checker *c, Operand *o, AstNode *node, Type *t
|
||||
is_constant = false;
|
||||
}
|
||||
|
||||
if (bet == t_invalid) {
|
||||
break;
|
||||
}
|
||||
|
||||
for (; index < cl->elems.count; index++) {
|
||||
AstNode *e = cl->elems[index];
|
||||
if (e == nullptr) {
|
||||
|
||||
Reference in new issue
Block a user