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: Michael Fellinger
Subject: Re: [Help-smalltalk] GNU Smalltalk 2.2d released
Date: Thu, 30 Nov 2006 10:09:49 +0900
User-agent: KMail/1.9.5

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 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. :-)

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




reply via email to

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