diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-29 13:53:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-29 13:53:55 +0100 |
| commit | f926c1861f5346d23b1b60f6b5970f598d3584b3 (patch) | |
| tree | e6f108df76b4d2cad6dfd7fc3b458f6ad2f5a420 /src/check_expr.cpp | |
| parent | f7936419cd5a022d6bb2100274832df5e7f42eee (diff) | |
| parent | 3074146784e253bd536b494aca2d7ce987ead20d (diff) | |
Merge pull request #5627 from A1029384756/master
skip errors on polymorphic procs when in a proc group with other options
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 862dd9278..80ec4f78e 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -7126,6 +7126,7 @@ gb_internal CallArgumentData check_call_arguments_proc_group(CheckerContext *c, gbString expr_name = expr_to_string(operand->expr); defer (gb_string_free(expr_name)); + c->in_proc_group = true; for_array(i, procs) { Entity *p = procs[i]; if (p->flags & EntityFlag_Disabled) { @@ -7168,6 +7169,7 @@ gb_internal CallArgumentData check_call_arguments_proc_group(CheckerContext *c, array_add(&valids, item); } } + c->in_proc_group = false; if (max_matched_features > 0) { for_array(i, valids) { |