No error for type helper when declaration is not solved (OBJFPC)
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
FPC allows for the construction:
{$MODE OBJFPC}
{$MODESWITCH TYPEHELPERS}
type
TIH = type helper for Int32
// NO (!) error - Forward declaration not solved "Foo(TObject);"
procedure Foo(Sender: TObject);
end;
begin
end.
Mantis conversion info:
- Mantis ID: 26176
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 27870 (#1bbcc08a)