[fpc-devel] Proof of Concept ARC implementation
Sven Barth
pascaldragon at googlemail.com
Sat Nov 1 21:14:15 CET 2014
On 31.10.2014 15:31, Sven Barth wrote:
> Am 30.10.2014 11:34 schrieb "hinstance at yandex.ru
> <mailto:hinstance at yandex.ru>" <hinstance at yandex.ru
> <mailto:hinstance at yandex.ru>>:
> >
> > 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 :=
>
> That simplifies things. Thanks for the update :)
I have now fixed the problem, so you can retest, if you want. :)
Regards,
Sven
More information about the fpc-devel
mailing list