We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It looks like the replace sender only look in the class and not in the hierarchy.
The text was updated successfully, but these errors were encountered:
Its applicability is
applicabilityPreconditions ^ { (RBCondition withBlock: [ oldSelector numArgs < newSelector numArgs ifTrue: [ oldSelector numArgs + self newArgs size = newSelector numArgs ifFalse: [ self refactoringError: 'You don''t have the necessary initializers to replace senders.' ] ]. true ]). (RBCondition definesSelector: oldSelector in: class). (RBCondition definesSelector: newSelector in: class) } "This is unclear that the targeting method should already be defined."
and
definesSelector: aSelector in: aClass ^self new block: [aClass directlyDefinesMethod: aSelector] errorString: aClass printString , ' <1?:does not >define<1?s:> ' , aSelector printString
So replace Message Send should be replace self send.
Sorry, something went wrong.
No branches or pull requests
It looks like the replace sender only look in the class and not in the hierarchy.
The text was updated successfully, but these errors were encountered: