mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix #2199
This commit is contained in:
@@ -1725,7 +1725,7 @@ lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValue const &tv,
|
|||||||
return lb_emit_struct_ev(p, val, 0);
|
return lb_emit_struct_ev(p, val, 0);
|
||||||
} else if (t->kind == Type_Array) {
|
} else if (t->kind == Type_Array) {
|
||||||
GB_ASSERT(t->Array.count == 1);
|
GB_ASSERT(t->Array.count == 1);
|
||||||
return lb_emit_array_epi(p, val, 0);
|
return lb_emit_struct_ev(p, val, 0);
|
||||||
} else {
|
} else {
|
||||||
GB_PANIC("Unknown type of expand_to_tuple");
|
GB_PANIC("Unknown type of expand_to_tuple");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user