cold fix set of T resolving

This commit is contained in:
samuraiGH 2024-06-28 22:45:07 +03:00
parent 460ce636ab
commit 5fa4d9fce7

View file

@ -18675,7 +18675,10 @@ namespace PascalABCCompiler.TreeConverter
if (tn.element_type != null && tn.type_special_kind != SemanticTree.type_special_kind.typed_file) // еще может быть множество set of T - 22.02.16 SSM if (tn.element_type != null && tn.type_special_kind != SemanticTree.type_special_kind.typed_file) // еще может быть множество set of T - 22.02.16 SSM
{ {
elem_type = tn.element_type; elem_type = tn.element_type;
sys_coll_ienum = true;
if (tn.type_special_kind == type_special_kind.set_type)
sys_coll_ienum = true;
return true; return true;
} }