mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 11:09:25 -04:00
Fix error message handling
This commit is contained in:
1 parent
811d53b305
commit
8e263de4aa
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -2100,8 +2100,8 @@ gb_internal bool is_type_polymorphic_record_unspecialized(Type *t) {
|
||||
t = base_type(t);
|
||||
if (t->kind == Type_Struct) {
|
||||
return t->Struct.is_polymorphic && !t->Struct.is_poly_specialized;
|
||||
} else if (t->kind == Type_Struct) {
|
||||
return t->Struct.is_polymorphic && !t->Struct.is_poly_specialized;
|
||||
} else if (t->kind == Type_Union) {
|
||||
return t->Union.is_polymorphic && !t->Union.is_poly_specialized;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user