aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-06-20 16:08:26 +0100
committergingerBill <bill@gingerbill.org>2023-06-20 16:08:26 +0100
commit26e06ba6a68bf9812b92d59629aaa426f2659a5f (patch)
tree70d6c66e070bf18a7e0986ae4ae0b8997caa79c8 /src/types.cpp
parent7c57dde2556b95a0ef206efd93fc23f8fd0bdf89 (diff)
Correct `check_call_arguments_new_and_improved` logic
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 1223132e3..385ca926d 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -2123,7 +2123,6 @@ gb_internal bool is_type_polymorphic(Type *t, bool or_specialized=false) {
if (t->Proc.is_polymorphic) {
return true;
}
- #if 1
if (t->Proc.param_count > 0 &&
is_type_polymorphic(t->Proc.params, or_specialized)) {
return true;
@@ -2132,7 +2131,6 @@ gb_internal bool is_type_polymorphic(Type *t, bool or_specialized=false) {
is_type_polymorphic(t->Proc.results, or_specialized)) {
return true;
}
- #endif
break;
case Type_Enum: