#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Thu, 24 Oct 2019 10:57:54 +0200
changeset 24862 1129d5b1f9cb
parent 24861 68e1f568f097
child 24863 949120215a0a
#BUGFIX by stefan class: Stream changed: #through: (send #and: instead of #or:) fix bug introduced in last version
Stream.st
--- a/Stream.st	Wed Oct 23 20:05:35 2019 +0200
+++ b/Stream.st	Thu Oct 24 10:57:54 2019 +0200
@@ -3291,7 +3291,7 @@
     |answerStream element|
 
     answerStream := self contentsSpecies writeStream.
-    [(element := self nextOrNil) isNil or:[self atEnd]] whileFalse:[
+    [(element := self nextOrNil) isNil and:[self atEnd]] whileFalse:[
         answerStream nextPut:element.
         (element = anObject) ifTrue: [
             ^ answerStream contents
@@ -3318,7 +3318,7 @@
 
     "Modified: / 17-05-1996 / 08:51:40 / cg"
     "Modified: / 10-01-2018 / 18:30:17 / stefan"
-    "Modified: / 22-10-2019 / 18:52:28 / Stefan Vogel"
+    "Modified: / 24-10-2019 / 10:55:35 / Stefan Vogel"
 !
 
 throughAll:aCollection