mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Update CEL
This commit is contained in:
@@ -1338,6 +1338,9 @@ bool is_type_polymorphic(Type *t, bool or_specialized=false) {
|
||||
break;
|
||||
|
||||
case Type_Map:
|
||||
if (t->Map.key == nullptr || t->Map.value == nullptr) {
|
||||
return false;
|
||||
}
|
||||
if (is_type_polymorphic(t->Map.key, or_specialized)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user