mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-25 09:09:25 +02:00
parent
4525edd9f7
commit
d8f1aacd78
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -16087,6 +16087,7 @@ tests/webtbf/tw36114.pp svneol=native#text/pascal
|
|||||||
tests/webtbf/tw36223.pp svneol=native#text/pascal
|
tests/webtbf/tw36223.pp svneol=native#text/pascal
|
||||||
tests/webtbf/tw3626.pp svneol=native#text/plain
|
tests/webtbf/tw3626.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3631.pp svneol=native#text/plain
|
tests/webtbf/tw3631.pp svneol=native#text/plain
|
||||||
|
tests/webtbf/tw36377.pp svneol=native#text/pascal
|
||||||
tests/webtbf/tw3643.pp svneol=native#text/plain
|
tests/webtbf/tw3643.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3644.pp svneol=native#text/plain
|
tests/webtbf/tw3644.pp svneol=native#text/plain
|
||||||
tests/webtbf/tw3662.pp svneol=native#text/plain
|
tests/webtbf/tw3662.pp svneol=native#text/plain
|
||||||
|
@ -538,7 +538,13 @@ implementation
|
|||||||
dospecialize:=false;
|
dospecialize:=false;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if dospecialize then
|
{ recover from error? }
|
||||||
|
if def.typ=errordef then
|
||||||
|
begin
|
||||||
|
while (token<>_SEMICOLON) and (token<>_RKLAMMER) do
|
||||||
|
consume(token);
|
||||||
|
end
|
||||||
|
else if dospecialize then
|
||||||
begin
|
begin
|
||||||
if def.typ=forwarddef then
|
if def.typ=forwarddef then
|
||||||
def:=ttypesym(srsym).typedef;
|
def:=ttypesym(srsym).typedef;
|
||||||
|
15
tests/webtbf/tw36377.pp
Normal file
15
tests/webtbf/tw36377.pp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ %fail }
|
||||||
|
{$mode objfpc}
|
||||||
|
|
||||||
|
program test;
|
||||||
|
uses
|
||||||
|
FGL;
|
||||||
|
|
||||||
|
// Type identifier expected
|
||||||
|
// Internal error 2019112401
|
||||||
|
generic function CopyList<T>(source: specialize FGL.TFPGObjectList<T>): specialize FGL.TFPGObjectList<T>;
|
||||||
|
begin
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user