diff options
| author | gingerBill <bill@gingerbill.org> | 2018-08-14 19:29:31 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-08-14 19:29:31 +0100 |
| commit | e1e4a916a5ffb81b4a9fbe6a2ca146db17c42bc8 (patch) | |
| tree | b4a89afda20547b51dfb3160dd45b5a18d24a3a8 /src/check_stmt.cpp | |
| parent | 71f94bff76b419b8382ee6f622121e43124427a8 (diff) | |
Fix demo and improve type hinting
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) { |