mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 13:30:42 +02:00
* give proper error location if something is wrong with the type argument list, resolves #9112
git-svn-id: trunk@8122 -
This commit is contained in:
parent
baafccf372
commit
4b9669a081
@ -145,6 +145,9 @@ implementation
|
|||||||
pt2.free;
|
pt2.free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{ force correct error location if too much type parameters are passed }
|
||||||
|
if token<>_RSHARPBRACKET then
|
||||||
|
consume(_RSHARPBRACKET);
|
||||||
{ Reparse the original type definition }
|
{ Reparse the original type definition }
|
||||||
if not err then
|
if not err then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user