mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 11:58:12 +02:00
codetools: test parsing nested generic inline expression, from Pascal Riekenberg
git-svn-id: branches/fixes_2_0@63494 -
This commit is contained in:
parent
8199a2b57d
commit
d58e4571d0
@ -491,6 +491,7 @@ begin
|
||||
'type',
|
||||
' TBird = class',
|
||||
' procedure DoIt(i: specialize TGenList<longint>);',
|
||||
' procedure DoIt2(i: specialize TGenList<specialize TGenObject<integer>>);',
|
||||
' end;',
|
||||
'implementation',
|
||||
'end.'],
|
||||
@ -504,6 +505,7 @@ begin
|
||||
'',
|
||||
' TBird = class',
|
||||
' procedure DoIt(i: specialize TGenList<longint>);',
|
||||
' procedure DoIt2(i: specialize TGenList<specialize TGenObject<integer>>);',
|
||||
' end;',
|
||||
'implementation',
|
||||
'',
|
||||
@ -511,6 +513,10 @@ begin
|
||||
'begin',
|
||||
'end;',
|
||||
'',
|
||||
'procedure TBird.DoIt2(i: specialize TGenList<specialize TGenObject<integer>>);',
|
||||
'begin',
|
||||
'end;',
|
||||
'',
|
||||
'end.']);
|
||||
end;
|
||||
|
||||
@ -523,6 +529,7 @@ begin
|
||||
'type',
|
||||
' TBird = class',
|
||||
' procedure DoIt(i: TGenList<longint>);',
|
||||
' procedure DoIt2(i: TGenList<TGenObject<longint>>);',
|
||||
' end;',
|
||||
'implementation',
|
||||
'end.'],
|
||||
@ -536,6 +543,7 @@ begin
|
||||
'',
|
||||
' TBird = class',
|
||||
' procedure DoIt(i: TGenList<longint>);',
|
||||
' procedure DoIt2(i: TGenList<TGenObject<longint>>);',
|
||||
' end;',
|
||||
'implementation',
|
||||
'',
|
||||
@ -543,6 +551,10 @@ begin
|
||||
'begin',
|
||||
'end;',
|
||||
'',
|
||||
'procedure TBird.DoIt2(i: TGenList<TGenObject<longint>>);',
|
||||
'begin',
|
||||
'end;',
|
||||
'',
|
||||
'end.']);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user