okay sorry for spamming the mailing list
So basically the other problem I reported before (generic + refcounted does not work) turns out to be something different:
Declaring variable of refcounted type in a different unit makes the compiler stop with error 2014092205
Assume in unit Aunit I have
type TSomething = class refcounted end;
Then I declare a procedure:
procedure Run;
var
server: TServer;
begin
server := TServer.Create;
end;
When procedure Run is declared in Aunit, it compiles. However, if I declare procedure Run in some other unit, say Bunit, then the compiler stops on line with assignment :=
var
server: TServer;
begin
server := TServer.Create;
end;
When procedure Run is declared in Aunit, it compiles. However, if I declare procedure Run in some other unit, say Bunit, then the compiler stops on line with assignment :=
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
