Fix type comparison not accounting for parapoly params

This commit is contained in:
Lucas Perlind
2023-04-03 12:47:28 +10:00
parent 22e0f5ecd0
commit 08bc6a1698
+1 -1
View File
@@ -2683,7 +2683,7 @@ gb_internal bool are_types_identical_internal(Type *x, Type *y, bool check_tuple
return false; return false;
} }
} }
return true; return are_types_identical(x->Struct.polymorphic_params, y->Struct.polymorphic_params);
} }
break; break;