diff options
Diffstat (limited to 'src/check_decl.c')
| -rw-r--r-- | src/check_decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.c b/src/check_decl.c index 1cbfcacc6..b690799af 100644 --- a/src/check_decl.c +++ b/src/check_decl.c @@ -63,7 +63,7 @@ void check_init_variables(Checker *c, Entity **lhs, isize lhs_count, AstNodeArra // an extra allocation ArrayOperand operands = {0}; array_init_reserve(&operands, c->tmp_allocator, 2*lhs_count); - check_unpack_arguments(c, &operands, inits); + check_unpack_arguments(c, lhs_count, &operands, inits, true); isize rhs_count = operands.count; for_array(i, operands) { |