[nem-en] Bug 928

Michal Moskal michal.moskal at gmail.com
Thu Feb 22 15:11:58 CET 2007


On 2/22/07, vc <vc at rsdn.ru> wrote:
> > But I don't really understand why this happens. Do you cache the
> > method bodies somewhere yourself? The code that does it is in
> > hierarchy/ClassMembers.n:946. It's a simple parse tree transformation,
> > and it modifies method body to accomodate for the signature change.
>
>  We parse method bodies separately. In first stage we parse types and it
> methods without body (save only location of body). And where user open
> concrete file we (in background) parse bodies. If user modifies body of
> method we modify locations (in AST) and reparse only modified body.
>
> This transformation should be disabled in IntelliSence mode.
> If I ignore this transformation in IntelliSence mode it will work?

I think some things may be broken, but I'm not sure if you're going to
be affected by this. Anyhow, aren't you going to have the same problem
with any macro that is run in an early stage and modifies method's
parsed body?

-- 
   Michał


More information about the devel-en mailing list