Fix demo and improve type hinting

This commit is contained in:
gingerBill
2018-08-14 19:29:31 +01:00
parent 71f94bff76
commit e1e4a916a5
3 changed files with 79 additions and 49 deletions

View File

@@ -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) {