fcl-passrc: fixed generic templates as string

This commit is contained in:
mattias 2025-02-03 14:06:10 +01:00
parent 3b5482b580
commit 83f9a94503

View File

@ -1938,12 +1938,12 @@ begin
Result:=''; Result:='';
for i:=0 to List.Count-1 do for i:=0 to List.Count-1 do
begin begin
T:=TPasGenericTemplateType(List[i]);
if i>0 then if i>0 then
if length(T.Constraints)>0 then if length(T.Constraints)>0 then
Result:=Result+';' Result:=Result+';'
else else
Result:=Result+','; Result:=Result+',';
T:=TPasGenericTemplateType(List[i]);
Result:=Result+T.Name; Result:=Result+T.Name;
if length(T.Constraints)>0 then if length(T.Constraints)>0 then
begin begin