#OTHER by exept
authorClaus Gittinger <cg@exept.de>
Mon, 26 Aug 2019 23:19:16 +0200
changeset 24650 6f177e963f98
parent 24649 a9ce1db0cf15
child 24651 b0a9c6744d0c
#OTHER by exept changed: #nextPut: returns its argument
HashStream.st
--- a/HashStream.st	Mon Aug 26 23:13:47 2019 +0200
+++ b/HashStream.st	Mon Aug 26 23:19:16 2019 +0200
@@ -423,18 +423,18 @@
 
     anObject isByteCollection ifTrue:[
         self nextPutBytes:(anObject byteSize) from:anObject startingAt:1.
-        ^ self.
+        ^ anObject.
     ].
 
     anObject isCharacter ifTrue:[
         "/ only 8bit chars are allowed !!
         self nextPutBytes:1 from:(ByteArray with:anObject codePoint) startingAt:1.
-        ^ self.
+        ^ anObject.
     ].
 
     anObject isInteger ifTrue:[
         self nextPutBytes:anObject digitBytes.
-        ^ self.
+        ^ anObject.
     ].
 
     ArgumentError raise