Skip to content

Commit

Permalink
fixes #9973 as described in the issue tracker entry
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusDenker committed Oct 21, 2021
1 parent 3b4e3e8 commit 40535e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kernel/Deprecation.class.st
Expand Up @@ -232,7 +232,7 @@ Deprecation >> transform [
self shouldTransform ifFalse: [ ^ self signal].
self rewriterClass ifNil:[ ^ self signal ].
aMethod := self contextOfSender compiledCode method.
aMethod isDoIt ifTrue:[^ self]. "no need to transform doits"
aMethod isDoIt ifTrue:[ ^ self signal ]. "no need to transform doits"
node := self contextOfSender sourceNodeExecuted.
RecursionStopper during: [
rewriteRule := self rewriterClass new
Expand Down

0 comments on commit 40535e6

Please sign in to comment.