mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 10:40:28 +02:00
codetools: added test class completion with function result type params
git-svn-id: trunk@61716 -
This commit is contained in:
parent
85ba413f31
commit
f167da7d21
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user