On Mon, Aug 24, 2015 at 6:05 PM, Marcus Denker <[email protected]> wrote: > Hi, > > I have a *very* strange bug. > > I am trying to add change these three methods in class “TemporaryVariable”:
> (I copy the new version): I'm not clear on what you mean by copy. Do you mean you copied the class to MyTemporaryVariable inside the same package? cheers -ben > > > ensureProperties > method saveTemp: self. > ^ Properties at: self ifAbsentPut: WeakKeyDictionary new > > removePropertiesIfEmpty > ^ Properties at: self ifPresent: [ :dict | > dict ifEmpty: [ > method removeSavedTemp: self. > Properties removeKey: self ] ] > > hash > > ^ (name hash > bitXor: method hash) > bitXor: (startpc ifNil: 0) > > > Now when I save the MC package, these changes are *not* saved, even though > when I diff against the repository > of Pharo5, they are shown as different. > > The only special things I did is to move TemporaryVariable to a new tag some > updates ago. And I had extension > methods in *slot where the same thing happened, but that was fixed by putting > them into *Slot. > > This looks like some wired RPackage problem. But the RPackage seems to > correctly know TemporaryVariable and these three selectors > as local from the package Slot. > > I really have no idea what the problem could be. > > Marcus
