pharo
pharo copied to clipboard
[Refactoring-UI] Error when pushing up method if same one exists in superclass
When we try to push up a method while a method with same selector exists in the superclass, the refactoring ends up in an error.
Steps to reproduce:
- Create a method named 'abc' in any class that has a subclass
- Create a method named 'abc' in its direct subclass
- Right click the 'abc' method in the subclass
- Refactorings
- (R) Pull up
- Refactor
=> Instance of RBNegationCondition class did not understand #strategyChoiceClass, in RePullUpMethodDriver
Issue is present in the released Pharo 13 and current build of Pharo 14.
Thanks for the report
I can reproduce it.