diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-20 19:35:52 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-20 19:35:52 +0100 |
| commit | e5502c13eef07b3cef9947c47b133555e33b8d85 (patch) | |
| tree | 5d86704c614c75f0e10061203fe1edeed0ff062a /src/check_stmt.cpp | |
| parent | f30d2e43eaf041a6c6f1752ee1cdc35e9054feb8 (diff) | |
Restrict global variables to not allow tuples
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 d6c8f654d..f02620499 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1757,7 +1757,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) { } } - check_arity_match(c, vd); + check_arity_match(c, vd, false); check_init_variables(c, entities, entity_count, vd->values, str_lit("variable declaration")); for (isize i = 0; i < entity_count; i++) { |