3.1 (and 3.0.x)

Sorry for the invalid bug

The bug was because of a typo that I made. Sorry.

Comparaison of CompiledCode with =

In CompiledCode>>#= you try to compare the literals but the compared method may be has less or no literals than the, and this is the same for the byte code.

Fix : simply check if the number of literals and byte code are equals

self numLiterals = aMethod literals ifFalse: [^false].
self numBytecodes = aMethod numBytecodes ifFalse: [^false].

intmath.st check fails

Tested on Mac OS X 10.5.5 and RedHat Linux 5.2 64 bit.

When make check is run, test #7, intmath.st does not complete - the test hangs. Comment added as below allows the test to complete:-

 Eval [
   g := PiSeries new.
   9 timesRepeat: [ g := g accelerate ].
 "    pi := g peek.
   pi numerator size printNl.
   pi denominator size printNl.
   (pi * 100000) asInteger "
 ]

The failure of intmath.st to complete has been observed on installs in the 3.0.x series as well (Mac OS X, Redhat Linux and Gentoo Linux).

Syndicate content

User login