diff options
| author | gingerBill <bill@gingerbill.org> | 2023-02-19 12:10:28 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-02-19 12:10:28 +0000 |
| commit | 20eacc4a8493f0d0088ceebbcc1490207c48b5ed (patch) | |
| tree | 6e11a330a2d7d1ad9360c79a2866595989697587 /src/check_expr.cpp | |
| parent | a28699b42d3ce3df54d9d9f3024f1a1a6add35f9 (diff) | |
Fix issue that conflicts with constant parapoly procedures and `deferred_*` procedures
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 93db559f8..356f0aaa3 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -5418,9 +5418,8 @@ gb_internal CALL_ARGUMENT_CHECKER(check_call_arguments_internal) { data->score = score; data->result_type = final_proc_type->Proc.results; data->gen_entity = gen_entity; - if (!are_types_identical(final_proc_type, ce->proc->tav.type)) { - add_type_and_value(c, ce->proc, Addressing_Value, final_proc_type, {}); - } + + add_type_and_value(c, ce->proc, Addressing_Value, final_proc_type, {}); } return err; |