[nem-en] ManagerClass.Instance
Kamil Skalski
kamil.skalski at gmail.com
Mon Oct 23 10:05:51 CEST 2006
You are right, I think the best way is to add to macros Typer or
ManagerClass instance field (plus property in interface). This way
before executing macro, compiler would assign the special field and
this way we would have access to those objects directly.
I will do this later.
On 10/23/06, vc <vc at rsdn.ru> wrote:
> >macro Manager () {
> > <[ $(ManagerClass.Instance.MacrosRegistry.GetImplicitCTXName () :
> name).Manager ]>
> >}
>
> Use ManagerClass.Instance is bad idea.
> Sooner or later we shall be obliged to get rid of a similar code.
> It's not re-entrant and not thread safe.
>
> It is possible to replace it with something?
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list