ReadStream.st
changeset 9305 6836bc44f3c3
parent 8987 b0d7be646112
child 9351 8f21c31ac0c2
--- a/ReadStream.st	Tue Mar 28 15:52:17 2006 +0200
+++ b/ReadStream.st	Tue Mar 28 16:34:56 2006 +0200
@@ -45,6 +45,12 @@
 "
 ! !
 
+!ReadStream class methodsFor:'blocked instance creation'!
+
+with:aCollection
+    self halt:'WARNING: with: should not be used for ReadStreams - use #on:'.
+    ^ super with:aCollection
+! !
 
 !ReadStream methodsFor:'converting'!
 
@@ -786,5 +792,5 @@
 !ReadStream class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ReadStream.st,v 1.55 2005-11-14 13:48:58 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ReadStream.st,v 1.56 2006-03-28 14:34:56 cg Exp $'
 ! !