[nem-en] Integration issues
Kamil Skalski
kamil.skalski at gmail.com
Wed Aug 30 22:44:10 CEST 2006
On 8/30/06, vc <vc at rsdn.ru> wrote:
> > They are, actually the field "loc" in the Located class is mutable, so
> > you assign new location whenever you wish (just create a new location
> > object, which doesn't cost anything anyway). Maybe adding some
> > SetLocation method wouldn't hurt.
>
> In compiler exists many places contained readonly (in .net terms)
> Location instance. Readonly objects in .net cannot be changed.
>
> We need convert all locations in TypeBuilder and so on to mutable form.
Yes, this is a good idea - TypeBuilder and MemberBuilder, as well as
TExpr and PExpr should have mutable location (accessible through
Location setter)
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list