codetools: added test class completion with function result type params

git-svn-id: trunk@61716 -
This commit is contained in:
mattias 2019-08-17 18:35:47 +00:00
parent 85ba413f31
commit f167da7d21

View File

@ -707,6 +707,7 @@ begin
'type',
' TBird<T> = class',
' public',
' function Fly(w: TArray<T>): TArray<T>;',
' property Wing: string;',
' end;',
'implementation',
@ -724,6 +725,7 @@ begin
' fWing: string;',
' procedure SetWing(AValue: string);',
' public',
' function Fly(w: TArray<T>): TArray<T>;',
' property Wing: string read fWing write SetWing;',
' end;',
'implementation',
@ -732,6 +734,9 @@ begin
' if fWing=AValue then Exit;',
' fWing:=AValue;',
'end;',
'function TBird<T>.Fly(w: TArray<T>): TArray<T>;',
'begin',
'end;',
'end.']);
end;