>> > That we don't  have a  way to  create accessor  (specifically the
>> > getters) that do lazy evaluation?
>>  Lazy initialization? What do you want to do?
>
> SomeClass>>aVariable
>
>    aVariable isNil ifTrue: [aVariable := "sensible thing to do"].
>    ^aVariable

How would the refactoring engine figure out what you want to do?

Normally you just change the code directly in the changes browser.

>>  > And last but not least, if  I attempt to edit a method in the new
>>  > window  "Changes:   refactor  class,   accessors"  I  get   an  MNU:
>>  > OR2AddMethodChangeNode(Object)>>doesNotUnderstand: #selectedClass.
>>  I  cannot reproduce  the  problem in  the  standard OmniBrowser.  I
>>  commonly edit the changes before applying the refactorings.
>
> This is happening in an image: Pharo1.0rc1 Latest update: #10495

Looks like a bug in OCompletion.

I am still using ECompletion, so I've not seen that bug before.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to