aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-06-07 00:11:00 +0100
committergingerBill <bill@gingerbill.org>2024-06-07 00:11:00 +0100
commit68781f8dd365692aee55099d3e14cb83a115764c (patch)
treee3348f8da2f980933a35a04c11e125e57e100aa8 /src/check_type.cpp
parent1d99bc0f8715fa03993226a378e583db0d34a49c (diff)
Remove unnecessary Wait_Signal checks
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index e0dea19cb..17f7813d5 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -1445,8 +1445,6 @@ gb_internal bool check_type_specialization_to(CheckerContext *ctx, Type *special
return true;
}
- wait_for_record_polymorphic_params(s);
- wait_for_record_polymorphic_params(t);
if (t->Struct.polymorphic_parent == s->Struct.polymorphic_parent &&
s->Struct.polymorphic_params != nullptr &&
t->Struct.polymorphic_params != nullptr) {
@@ -1500,8 +1498,6 @@ gb_internal bool check_type_specialization_to(CheckerContext *ctx, Type *special
return true;
}
- wait_for_record_polymorphic_params(s);
- wait_for_record_polymorphic_params(t);
if (t->Union.polymorphic_parent == s->Union.polymorphic_parent &&
s->Union.polymorphic_params != nullptr &&
t->Union.polymorphic_params != nullptr) {