mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-18 08:58:23 +00:00
Fix error with polymorphic structs #279
This commit is contained in:
@@ -1126,7 +1126,7 @@ bool is_type_polymorphic(Type *t) {
|
||||
return true;
|
||||
|
||||
case Type_Named:
|
||||
return is_type_polymorphic_record(t->Named.base);
|
||||
return is_type_polymorphic(t->Named.base);
|
||||
|
||||
case Type_Pointer:
|
||||
return is_type_polymorphic(t->Pointer.elem);
|
||||
|
||||
Reference in New Issue
Block a user