This commit is contained in:
Mikhalkovich Stanislav 2024-12-14 15:25:24 +03:00
commit 080fb487e1

View file

@ -4819,7 +4819,7 @@ begin
exit;
end;
if t.FullName.StartsWith('PABCSystem.NewSet`1') then
if t.IsGenericType and (t.GetGenericTypeDefinition = typeof(NewSet<>)) then
begin
res.Write('set of ');
TypeToTypeNameHelper(t.GetGenericArguments.Single, res);