[fpc-devel] forward ref of typed-alias not solved // bug?

Martin lazarus at mfriebe.de
Wed Dec 15 20:44:29 CET 2010


In the below app you get the error
project1.lpr(4,20) Error: Forward type not resolved "TOtherFoo"

Is that intended?


program Project1;
type
   TFoo = class;
   TOtherFoo = type TFoo;

   TFoo = class
     AFoo: Integer;
   end;

begin
end.




More information about the fpc-devel mailing list