Once #18821 is integrated we should fix the popup.
We should not get a pop up in the refactoring.
TemporaryToInstanceVariableRefactoring >> preconditionNoSubclassDefinesVar [
^ RBCondition
withBlock: [ (class allSubclasses anySatisfy: [ :cls | cls definesInstanceVariable: temporaryVariableName asString ]) not ]
errorString:
('One or more subclasses of <1p> already defines an<n>instance variable with the same name. Proceed anyway?'
expandMacrosWith: class name)
Once #18821 is integrated we should fix the popup.
We should not get a pop up in the refactoring.