I think I've found a bug in String class>>readFrom:. This sentence fails:

z := String readFrom: 'Good morning' readStream.

I think that the bug is on the first line, saying: ^ self class
streamContents:. The 'class' message shouldn't be here, because 'self'
itself refers to the String class.

Present in Pharo 2.0 and 3.0.

Thanks a lot.

Reply via email to