mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-27 13:24:56 +00:00
Make container.Map have similar semantics to the built-in map type
This commit is contained in:
@@ -1720,6 +1720,9 @@ TypeTuple *get_record_polymorphic_params(Type *t) {
|
||||
|
||||
|
||||
bool is_type_polymorphic(Type *t, bool or_specialized=false) {
|
||||
if (t == nullptr) {
|
||||
return false;
|
||||
}
|
||||
if (t->flags & TypeFlag_InProcessOfCheckingPolymorphic) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user