On Wednesday 29 November 2006 21:33, Paolo Bonzini wrote: > > sorry to destroy your dreams, but i just tried to compile: > > > > FAIL: OrderedCollectionANSITest > > ======================================= > > 1 of 105 tests failed > > Please report to [email protected] > > ======================================= > > > > 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. :-)
my system: 2.6.18-ARCH #1 SMP PREEMPT i686 Pentium 4 CPU 3.20GHz GNU/Linux > > 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 and yes, the code runs fine: st> | oc | st> oc := OrderedCollection with: 1 with: 2 with: 3 with: 4. st> [ oc add: 0 afterIndex: 5. self halt ] on: Error do: [ :e | e return ]. st> [ oc add: 0 afterIndex: -1. self halt ] on: Error do: [ :e | e return ]. st> (oc add: 777 afterIndex: 0) printNl. st> oc printNl. st> (oc add: 888 afterIndex: 5) printNl. st> oc printNl. st> (oc add: 999 afterIndex: 1) printNl. st> oc printNl! 777 OrderedCollection (777 1 2 3 4 ) 888 OrderedCollection (777 1 2 3 4 888 ) 999 OrderedCollection (777 999 1 2 3 4 888 ) OrderedCollection new: 16 "<-0x4c638cc8>" so, what is the problem here? ^manveru _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
