This commit is contained in:
gingerBill committed 2022-11-21 11:02:52 +00:00
1 parent 83558a1352
commit 5bbab05161
1 file changed
+1 -1
+1 -1
View File
@@ -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");
} }