Skip to content

Commit

Permalink
This PR fixes RBMessageNode>> #isSuperSend to not hard-code the string.
Browse files Browse the repository at this point in the history
#isSelfSend was already just doing a #isSelfVariable check on the receiver,  we can do the same for #isSuperSend and use #isSuperVariable
  • Loading branch information
MarcusDenker committed May 3, 2021
1 parent 24cf2e9 commit a7424cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AST-Core/RBMessageNode.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ RBMessageNode >> isSelfSend [

{ #category : #testing }
RBMessageNode >> isSuperSend [
^ self receiver isVariable and: [ self receiver name = 'super' ]
^ self receiver isSuperVariable
]

{ #category : #testing }
Expand Down

0 comments on commit a7424cb

Please sign in to comment.