diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2023-11-23 21:04:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 21:04:18 +0000 |
| commit | 490c8daeddfb2d940cbcdf265d098834111a9a2f (patch) | |
| tree | c0e0cbe725fc6b0aec100c93290aa50f1b4d4920 | |
| parent | f809788f75f997ceebbbbfa0aa138f2ae2011e1e (diff) | |
| parent | e78ee90ac229468e88281fece02b752cc8160744 (diff) | |
Merge pull request #2970 from jakubtomsu/check-blank-ident-proc-params
Fix procedure parameter checking with blank identifiers
| -rw-r--r-- | src/check_expr.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 7b90677c8..71accfb81 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -5606,9 +5606,6 @@ gb_internal CallArgumentError check_call_arguments_internal(CheckerContext *c, A for (isize i = 0; i < pt->param_count; i++) { if (!visited[i]) { Entity *e = pt->params->Tuple.variables[i]; - if (is_blank_ident(e->token)) { - continue; - } if (e->kind == Entity_Variable) { if (e->Variable.param_value.kind != ParameterValue_Invalid) { ordered_operands[i].mode = Addressing_Value; |