mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 20:32:20 +02:00
fcl-passrc: fixed generic templates as string
This commit is contained in:
parent
3b5482b580
commit
83f9a94503
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user