Fix type comparison not accounting for parapoly params

This commit is contained in:
Lucas Perlind committed 2023-04-03 12:47:28 +10:00
1 parent 22e0f5ecd0
commit 08bc6a1698
1 file changed
+1 -1
+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;