Skip to content

Commit

Permalink
Replace send of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Brichau committed Feb 4, 2024
1 parent 61d83eb commit c7e2c31
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
hooks
afterCheck: aNode mappings: dict

aNode methodNode method isRenderingMethod ifFalse: [ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse: [ ^ false ].
aNode isWrite ifFalse: [ ^ false ].
(WASlime isWithinCallback: aNode) ifTrue:[ ^ false ].

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hooks
afterCheck: aNode mappings: dict

aNode methodNode method isRenderingMethod ifFalse: [ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse: [ ^ false ].
(WASlime isWithinCallback: aNode) ifTrue: [ ^ false ].
^ true
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hooks
afterCheck: aNode mappings: dict

aNode methodNode method isRenderingMethod ifFalse: [ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse: [ ^ false ].
(WASlime isWithinCallback: aNode) ifFalse: [ ^ false ].
^ true
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ hooks
afterCheck: aNode mappings: dict

| class |
aNode methodNode method isRenderingMethod ifFalse: [ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse: [ ^ false ].
class := Smalltalk classNamed: aNode receiver name.
class ifNil: [ ^ false ].
^ class isBehavior and: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ hooks
afterCheck: aNode mappings: dict

| owner |
aNode methodNode method isRenderingMethod ifFalse:[ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse:[ ^ false ].
owner := aNode isCascaded
ifTrue: [ aNode parent parent ]
ifFalse: [ aNode parent ].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
hooks
afterCheck: aNode mappings: dict

aNode methodNode method isRenderingMethod ifFalse:[ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse:[ ^ false ].
^ (aNode selector = #with:)
ifTrue: [ WASlime isBrushSelector: aNode receiver selector ]
ifFalse: [ WASlime isBrushSelector: aNode selector ]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
hooks
afterCheck: aNode mappings: dict

aNode methodNode method isRenderingMethod ifFalse: [ ^ false ].
aNode methodNode compiledMethod isRenderingMethod ifFalse: [ ^ false ].
^ (aNode parent isCascade not)
and: [ (WASlime isBrushSelector: aNode receiver selector)
and: [ (WASlime isBrushSelector: aNode receiver selector , ':')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
hooks
afterCheck: aNode mappings: dict

^ aNode methodNode method isRenderingMethod and: [
^ aNode methodNode compiledMethod isRenderingMethod and: [
aNode parent isCascade and: [
aNode parent messages last ~= aNode and: [
WASlime isBrushSelector: aNode receiver selector ] ] ]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SystemOrganization addCategory: #'Seaside-Pharo110-Slime'!
self packageOrganizer ensurePackage: #'Seaside-Pharo110-Slime' withTags: #()!

0 comments on commit c7e2c31

Please sign in to comment.