diff options
| author | gingerBill <bill@gingerbill.org> | 2020-09-12 15:50:42 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-09-12 15:50:42 +0100 |
| commit | ccb7c3513bf8f149eb46e8d698ace0d08621bf4f (patch) | |
| tree | 81f350185d9caf9fa03e8a81c9dcb3015c4c136a /src/check_stmt.cpp | |
| parent | bf215377dee8c2ee25c9749cfe3a420bcb4eeb2b (diff) | |
Fix check_arity_match bug
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 d5109206d..3adb2d04d 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -2087,8 +2087,8 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { } } - check_arity_match(ctx, vd); check_init_variables(ctx, entities, entity_count, vd->values, str_lit("variable declaration")); + check_arity_match(ctx, vd, false); if (ctx->curr_proc_calling_convention == ProcCC_Pure) { if (vd->values.count == 0) { |