On 04/06/2011 01:20 PM, Holger Hans Peter Freyther wrote:
> On 04/06/2011 01:06 PM, Wolfgang Eder wrote:
>> hi wolfgang,
>> try OrderedCollection new
>
> do you know/understand what is causing this issue? It seems stuck in the VM/C
> code.
>
> _______________________________________________
> help-smalltalk mailing list
>
[hidden email]
>
http://lists.gnu.org/mailman/listinfo/help-smalltalkHi,
it seems it fails when it prints the sequencableCollection there should
be an infinite recursion (do need size and size need do) ;-)
Collection>>size [
| count |
count := 0.
self do: [:element | count := count + 1].
^count
]
SequencableCollection>>do: aBlock [
1 to: self size do: [:i | aBlock value: (self at: i)]
]
Gwen
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk