Make container.Map have similar semantics to the built-in map type

This commit is contained in:
gingerBill committed 2020-12-15 23:23:07 +00:00
1 parent 6c2b93d519
commit 5faa560f82
2 files changed
+52 -37

No files matched your search

+3
View File
@@ -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;
}