On Mon, Nov 17, 2008 at 12:53:47PM -0800, Moritz Lenz wrote: > > Latest rakudo (r32779) dies on t/spec/S03-operators/increment.t: > > $ TEST_JOBS=1 make t/spec/S03-operators/increment.t > t/spec/S03-operators/increment.rakudo.... > 1..41 > ok 1 - var incremented after post-autoincrement # TODO detect integer > overflow/underflow > [...]
The test also fails entirely if the system doesn't have a bigint library available. I'd like to see us split the various overflow tests out of increment.t and into their own files. I think I've now updated Rakudo so that BigInt acts like Integer with respect to Perl 6 methods, but since I don't currently have the bigint library installed on my system I don't have an easy way to test this. :-) Also, I suspect that we may have an issue if a subclass of Integer automorphs to a BigInt, but I haven't had a chance to test this yet. Pm