* overloaded forward problem

This commit is contained in:
pierre 1999-05-30 22:43:20 +00:00
parent a2c432a153
commit a500f24e92
2 changed files with 20 additions and 1 deletions

18
bugs/bug0253.pp Normal file
View File

@ -0,0 +1,18 @@
procedure test(w : word);forward;
procedure test(a : string);
begin
Writeln(a);
test(20);
end;
procedure test(w :word);
begin
writeln(w);
end;
begin
test('test');
test(32);
end.

View File

@ -305,6 +305,7 @@ Fixed bugs:
allowed in -Sd mode OK 0.99.11 (PM)
bug0248.pp Asm, Wrong assembler code accepted by new assembler reader OK 0.99.11 (PFV)
bug0250.pp error with Ansistrings and loops. OK 0.99.11 (PFV)
bug0251.pp typed const are not aligned correctly OK 0.99.11 (PM)
Unproducable bugs:
@ -342,5 +343,5 @@ bug0244.pp nested procedures can't have same name as global ones
bug0245.pp assigning pointers to address of consts is allowed (refused by BP !)
bug0246.pp const para can be changed without error
bug0249.pp procedure of object cannot be assigned to property.
bug0251.pp typed const are not aligned correctly
bug0252.pp typecasting not possible within typed const
bug0253.pp problem with overloaded procedures and forward