# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #60618]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60618 >


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/u
nderflow
ok 2 - during post-autoincrement return value is not yet incremented
ok 3 - var incremented  after pre-autoincrement # TODO detect integer
overflow/u
nderflow
ok 4 - during pre-autoincrement return value is incremented # TODO
detect intege
r overflow/underflow
ok 5 - simple assignment: $a = $a+1
Method 'HOW' not found for invocant of class 'BigInt'
current instr.: 'parrot;P6protoobject;ACCEPTS' pc 994
(runtime/parrot/library/P6
object.pir:602)


And the discussion on IRC:

21:43 <@chromatic> I fixed Integer increment and decrement last night to
                   autopromote to BigInt.
21:43 <@chromatic> The spectests didn't actually check that the increment
                   worked; they had known overflow problems.
21:43 <@chromatic> I assume that someone just needs to add the Perl 6 Int
                   methods to BigInt.

Moritz

-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/

Reply via email to