diff options
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 86dd1bd6d..1475d7b03 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1122,7 +1122,7 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { } } - check_unpack_arguments(ctx, nullptr, lhs_operands.count, &rhs_operands, as->rhs, true); + check_assignment_arguments(ctx, lhs_operands, &rhs_operands, as->rhs, true); isize rhs_count = rhs_operands.count; for_array(i, rhs_operands) { |