[BUG]RefactoringBrowser broken in 3.6gamma due to missing Object>>postCopy

Daniel Vainsencher danielv at netvision.net.il
Sun Sep 21 15:04:10 UTC 2003


Thats weird, the tests were green. Think that's fixed now. Can you try
again?

Daniel

"Mark A. Schwenk" <mas at wellthot.com> wrote:
> I was just using the latest Refactoring Browser from SqueakMap in a
> fully updated 3.6 gamma image to do a class convert to sibling
> refactoring a got a walkback due to the removal of the postCopy method
> that formerly was implemented for Object. It appears that we need to
> push down an empty implementation of postCopy into a number of RB
> classes if we don't want to implement it on Object anymore.
> 
> 20 September 2003 2:33:31 am
> 
> VM: unix - Squeak3.6beta of '4 July 2003' [latest update: #5411]
> Image: Squeak3.6gamma [latest update: #5421]
> 
> CompositeRefactoryChange(Object)>>doesNotUnderstand: #postCopy
> 	Receiver: a ChildrenToSiblingsRefactoring
> 	Arguments and temporary variables: 
> 		aMessage: 	a Message with selector: #postCopy and arguments: #()
> 	Receiver's instance variables: 
> 		name: 	'a ChildrenToSiblingsRefactoring'
> 		changes: 	an OrderedCollection(Object subclass: #MCPundle
> instanceVariableNames:...etc...
> 
> CompositeRefactoryChange>>postCopy
> 	Receiver: a ChildrenToSiblingsRefactoring
> 	Arguments and temporary variables: 
> 		each: 	nil
> 	Receiver's instance variables: 
> 		name: 	'a ChildrenToSiblingsRefactoring'
> 		changes: 	an OrderedCollection(Object subclass: #MCPundle
> instanceVariableNames:...etc...
> 
> CompositeRefactoryChange(RefactoryChange)>>copy
> 	Receiver: a ChildrenToSiblingsRefactoring
> 	Arguments and temporary variables: 
> 
> 	Receiver's instance variables: 
> 		name: 	'a ChildrenToSiblingsRefactoring'
> 		changes: 	an OrderedCollection(Object subclass: #MCPundle
> instanceVariableNames:...etc...
> 
> CompositeRefactoryChange>>executeNotifying:
> 	Receiver: a ChildrenToSiblingsRefactoring
> 	Arguments and temporary variables: 
> 		aBlock: 	[] in CompositeRefactoryChange(RefactoryChange)>>execute
> 		undos: 	an OrderedCollection(MCPundle removeFromSystem! Object
> subclass: #MCPack...etc...
> 		undo: 	nil
> 		each: 	!MCPundle class methodsFor: 'as yet unclassified'!!
> 
> named: aString
> 	self...etc...
> 	Receiver's instance variables: 
> 		name: 	'a ChildrenToSiblingsRefactoring'
> 		changes: 	an OrderedCollection(Object subclass: #MCPundle
> instanceVariableNames:...etc...
> 
> 
> --- The full stack ---
> CompositeRefactoryChange(Object)>>doesNotUnderstand: #postCopy
> CompositeRefactoryChange>>postCopy
> CompositeRefactoryChange(RefactoryChange)>>copy
> CompositeRefactoryChange>>executeNotifying:
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> CompositeRefactoryChange(RefactoryChange)>>execute
> [] in RefactoryChangeManager>>performChange:
> BlockContext>>ensure:
> RefactoryChangeManager>>ignoreChangesWhile:
> RefactoryChangeManager>>performChange:
> RefactoringManager>>addRefactoring:
> ChildrenToSiblingsRefactoring(Refactoring)>>execute
> [] in RefactoringBrowser>>convertToSibling
> BlockContext>>ensure:
> CursorWithMask(Cursor)>>showWhile:
> [] in RefactoringBrowser>>handleError:
> BlockContext>>on:do:
> RefactoringBrowser>>handleError:
> RefactoringBrowser>>convertToSibling
> [] in MenuItemMorph>>invokeWithEvent:
> BlockContext>>ensure:
> CursorWithMask(Cursor)>>showWhile:
> MenuItemMorph>>invokeWithEvent:
> MenuItemMorph>>mouseUp:
> MenuItemMorph>>handleMouseUp:
> MouseButtonEvent>>sentTo:
> MenuItemMorph(Morph)>>handleEvent:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuItemMorph(Morph)>>processEvent:using:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuMorph(Morph)>>processEvent:using:
> MenuMorph(Morph)>>processEvent:
> MenuMorph>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendMouseEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor:
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess
> [] in BlockContext>>newProcess



More information about the Squeak-dev mailing list