Context.st
changeset 23647 a6c73965eae8
parent 23543 170b00be0103
child 24127 ce2a0e462ff0
--- a/Context.st	Sat Jan 26 10:59:31 2019 +0100
+++ b/Context.st	Sat Jan 26 19:59:10 2019 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1988 by Claus Gittinger
 	      All Rights Reserved
@@ -1150,13 +1148,21 @@
      if the method's implementation has been changed in the meanwhile (for example, in the debugger),
      the new code is executed. Otherwise the same code is reexecuted from the start."
 
-    self returnDoing:[ receiver perform:selector withArguments:(self args) ].
+    self returnDoing:[ 
+        selector == #doIt ifTrue:[
+            method valueWithReceiver:receiver arguments:(self args) selector:selector 
+        ] ifFalse:[
+            receiver perform:selector withArguments:(self args) 
+        ].
+    ].
 
     "
      when we arrive here, something went wrong.
      debugging ...
     "
     ^ self invalidReturnOrRestartError:#'resend' with:nil
+
+    "Modified: / 26-01-2019 / 19:58:25 / Claus Gittinger"
 !
 
 restart