[nem-en] Re: [svn] r6497: nemerle/trunk/ncc:hierarchy/TypeBuilder.n typing/Typer.n

vc vc at rsdn.ru
Wed Aug 9 18:10:01 CEST 2006


   > Am I thinking correctly, that this is done to "cut" location just to
   > its beginning? 
   
   In this case location is not important. But in generally for completion
engine necessary that location was mutable.
   
   > Maybe we should create method loc.CopyBeginning() ,
   > which would return the cut location?
   
   Basically it would be convenient. And then well to add loc.CopyEnd().
   
   
   > > +      Location_stack.push(loc);
   > 
   > It's better to use macro Util.locate:
   > def ctor =
   >   Util.locate (newloc,  <[ decl: public this () { } ]>);
   
   Thanks, shall know.




More information about the devel-en mailing list