codetools: test parsing nested generic inline expression, from Pascal Riekenberg

git-svn-id: branches/fixes_2_0@63494 -
This commit is contained in:
mattias 2020-07-03 10:22:02 +00:00
parent 8199a2b57d
commit d58e4571d0

View File

@ -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;