June 13, 2012
12:56 p.m.
Hi guys! I'm chasing a bug that appeared in glorp under pharo 1.4. Now, the bug is due to some behavior changed in OrderedCollection I think. Look at this piece of code: oc := OrderedCollection new. ws := oc writeStream. "this explodes" ws nextPutAll: (OrderedCollection with: 1 with: 2 with: 3). "this works" ws nextPutAll: {1.2.3} And I'm puzzled, why should one work and the other not from the pov of the user? And how should I replace that behavior if it's my bug? putting an asArray for each nextPutAll: does not look good for me... :S Tx, Guille