mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-20 04:35:00 -07:00
Fix non-constant compound literals of slices
This commit is contained in:
@@ -2471,6 +2471,7 @@ gb_internal void lb_build_stmt(lbProcedure *p, Ast *node) {
|
||||
}
|
||||
GB_ASSERT(lval_index == lvals.count);
|
||||
|
||||
|
||||
for_array(i, vd->names) {
|
||||
Ast *name = vd->names[i];
|
||||
if (!is_blank_ident(name) && !lvals_preused[i]) {
|
||||
|
||||
Reference in New Issue
Block a user