help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] GNU Smalltalk 2.2d released


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] GNU Smalltalk 2.2d released
Date: Wed, 29 Nov 2006 13:33:51 +0100
User-agent: Thunderbird 1.5.0.8 (Macintosh/20061025)


sorry to destroy your dreams, but i just tried to compile:

FAIL: OrderedCollectionANSITest
=======================================
1 of 105 tests failed
Please report to address@hidden
=======================================

this is a normal 32bit machine and the previous release worked fine... any information i could give you to shed some more light on this issue?

Uhm, the release was tested on i686-pc-linux-gnu (with and without JIT), and on powerpc-apple-darwin (only without JIT). So for now, you haven't destroyed my dreams yet. :-)

Try this:

| oc |
oc := OrderedCollection with: 1 with: 2 with: 3 with: 4.
[ oc add: 0 afterIndex: 5. self halt ] on: Error do: [ :e | e return ].
[ oc add: 0 afterIndex: -1. self halt ] on: Error do: [ :e | e return ].
(oc add: 777 afterIndex: 0) printNl.
oc printNl.
(oc add: 888 afterIndex: 5) printNl.
oc printNl.
(oc add: 999 afterIndex: 1) printNl.
oc printNl!

The output should be:

777
OrderedCollection (777 1 2 3 4 )
888
OrderedCollection (777 1 2 3 4 888 )
999
OrderedCollection (777 999 1 2 3 4 888 )

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]