|
I moved
RBTransformationRule subclass: #RBRemoveAssignmentWithoutEffectRule instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Manifest-Core'
to
RBTransformationRule subclass: #RBRemoveAssignmentWithoutEffectRule instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Refactoring-Critics'
RBRemoveAssignmentWithoutEffectRule defined longDescription that was packaged with '*Manifest-Core' in the first place (yes it was probably silly).
When I moved the class to 'Refactoring-Critics' I got this error:
packageDefiningOrExtendingSelector: aSelector inClassNamed: aClassNameSymbol "this implementation is slower aClass packages detect: [:each | each includesSelector: aSelector ofClass: aClass ]" | classPackage |
classPackage := self packageOfClassNamed: aClassNameSymbol. (classPackage includesSelector: aSelector ofClassName: aClassNameSymbol) ifTrue: [ ^classPackage ].
^(self extendingPackagesOfClassNamed: aClassNameSymbol) detect: [ :p | p includesSelector: aSelector ofClassName: aClassNameSymbol ] ifNone: [ self error: ('No package found for selector {1} in class {2}' format: { aSelector . aClassNameSymbol }) ]
#longDescription #RBRemoveAssignmentWithoutEffectRule
Stef
|
|
|
Priority: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Later
|
Go to Case
|
|