mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 03:32:37 +00:00
Fix #210
This commit is contained in:
@@ -5524,7 +5524,9 @@ ExprKind check_expr_base_internal(Checker *c, Operand *o, AstNode *node, Type *t
|
||||
} else if (t->kind == Type_Array) {
|
||||
elem_type = t->Array.elem;
|
||||
context_name = str_lit("array literal");
|
||||
max_type_count = t->Array.count;
|
||||
if (!is_to_be_determined_array_count) {
|
||||
max_type_count = t->Array.count;
|
||||
}
|
||||
} else if (t->kind == Type_DynamicArray) {
|
||||
elem_type = t->DynamicArray.elem;
|
||||
context_name = str_lit("dynamic array literal");
|
||||
|
||||
Reference in New Issue
Block a user