The amount, 5, IS larger than the number of objects, 4. So the result should be 'undefined', yet it returns the receiver, 'four'. And I don't believe the string 'four' has any 'future' of getting larger.
Not a bug."The result is undefined if amount is larger than the number of objects in the receiver's future sequence values." (ANSI 5.9.2.4)James FosterOn Jan 24, 2009, at 7:23 PM, Daniel Klein wrote:Why does'four' readStream next: 5not throw an exception like it does in VW?Is this a buglet?Daniel Klein