El lun, 13-09-2010 a las 14:02 +0200, Lukas Renggli escribió:
> How you derive the type?

I think it only uses the name of the inst var to name the parameter var
in the accessor.

> 
> >From the method name? I think only very few accessors/inst-vars are
> named after the type.
> 
> Also note that you can edit the type directly in the changes browser
> before you install it, that's what I typically do.
> 
> Lukas
> 
> 2010/9/13 Mariano Martinez Peck <marianop...@gmail.com>:
> > i would like that too
> >
> > On Sep 12, 2010 7:27 PM, "Bart Gauquie" <bart.gauq...@gmail.com> wrote:
> >
> > Dear list,
> >
> > I've noticed that when I'm using the generate accessors refactoring, I'm
> > always adapting the generated code for the mutator:
> > number: anObject
> >     number := anObject
> > to:
> > number: aNumber
> >    number := aNumber
> > So I've adapted the refactoring code a bit so that it automatically
> > generates this correctly. Anybody also thinks this is useful? If so, I will
> > create a bug/improvement and a slice for it.
> > Kind regards,
> >
> > Bart
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> 
> 
> 

-- 
Miguel Cobá
http://miguel.leugim.com.mx


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to