help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [bug] Kernel.ConcatenatedStream fails when re-positione


From: Holger Hans Peter Freyther
Subject: [Help-smalltalk] [bug] Kernel.ConcatenatedStream fails when re-positioned
Date: Sun, 10 Feb 2013 09:29:32 -0700

Issue status update for http://smalltalk.gnu.org/node/696 Post a follow up: http://smalltalk.gnu.org/project/comments/add/696

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  zecke
Updated by:   zecke
Status:       active

The following code is working with a ReadStream but is failing with the
ConcatenatedStream.


st> (Kernel.ConcatenatedStream with: ('3' readStream)) next; position:
0; next: 1

Object: ConcatenatedStream new "<0x558b6810>" error: premature end of
stream: 1 element(s) missing
SystemExceptions.NotEnoughElements(Exception)>>signal
(ExcHandling.st:254)
SystemExceptions.NotEnoughElements class>>signalOn: (SysExcept.st:359)
Kernel.ConcatenatedStream(Stream)>>next:into:startingAt: (Stream.st:105)
Kernel.ConcatenatedStream(Stream)>>next: (Stream.st:73)
UndefinedObject>>executeStatements (a String:1)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]