#QUALITY by exept
authorClaus Gittinger <cg@exept.de>
Mon, 26 Aug 2019 09:57:02 +0200
changeset 24624 d43c1cf3a830
parent 24623 ee7195e86e1f
child 24625 1d63937b4f74
#QUALITY by exept class: Object changed: #doIfNotNil:
Object.st
--- a/Object.st	Mon Aug 26 09:47:17 2019 +0200
+++ b/Object.st	Mon Aug 26 09:57:02 2019 +0200
@@ -5202,9 +5202,10 @@
     "if I am a collection, then enumerate myself into aBlock.
      if I am nil, then do nothing.
      Otherwise, evaluate aBlock with myself as argument.
+     Return the receiver.
      Redefined in Collection and UndefinedObject."
 
-    ^ aBlock value:self
+    aBlock value:self
 
     "Created: / 20-03-2018 / 15:39:37 / stefan"
     "Modified (comment): / 26-04-2018 / 14:20:13 / stefan"