Problem with OrderedCollection
Miguel Enrique Cobá Martínez
m.coba.m at gmail.com
Wed Feb 6 00:19:58 UTC 2008
Maybe is a stupid question, but my tests are failing because this.
This is the code. Paste it in a Workspace:
| t |
"Printing or inspecting this gives OrderedCollection"
t := OrderedCollection new.
t add: ('text', 1 printString).
t class.
"But printing or inspecting this gives a ByteArray"
t := OrderedCollection new
add: ('text', 1 printString).
t class.
Can someone explain what it is happening?
Thanks,
Miguel Cobá
More information about the Squeak-dev
mailing list
|