mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 13:29:27 +02:00
compiler: regenerate parameter list in tprocvardef.getcopy (fixes compiler crash, issue #0025077)
git-svn-id: trunk@25561 -
This commit is contained in:
parent
ce6c8c1b59
commit
c22c364f43
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -13593,6 +13593,7 @@ tests/webtbs/tw2504.pp svneol=native#text/plain
|
||||
tests/webtbs/tw25054a.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw25054b.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw25059.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw25077.pp svneol=native#text/pascal
|
||||
tests/webtbs/tw2514.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2525.pp svneol=native#text/plain
|
||||
tests/webtbs/tw2536.pp svneol=native#text/plain
|
||||
|
@ -5474,6 +5474,7 @@ implementation
|
||||
tprocvardef(result).savesize:=savesize;
|
||||
|
||||
{ create paralist copy }
|
||||
calcparas;
|
||||
tprocvardef(result).paras:=tparalist.create(false);
|
||||
tprocvardef(result).paras.count:=paras.count;
|
||||
for j:=0 to paras.count-1 do
|
||||
|
7
tests/webtbs/tw25077.pp
Normal file
7
tests/webtbs/tw25077.pp
Normal file
@ -0,0 +1,7 @@
|
||||
{ %NORUN}
|
||||
program tw25077;
|
||||
|
||||
TYPE AnyName = TYPE PROCEDURE (A : INTEGER);
|
||||
|
||||
begin
|
||||
end.
|
Loading…
Reference in New Issue
Block a user