Make container.Map have similar semantics to the built-in map type
This commit is contained in:
1 parent
6c2b93d519
commit
5faa560f82
2 files changed
+52
-37
No files matched your search
@@ -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