# New Ticket Created by Pawel Pabian # Please include the string: [perl #74648] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74648 >
Moscow build: <bbkr> rakudo: my $x = Inf; say ($x.Int / 1).WHAT; # this one looks bad, I have Int/Int but rakudo fails with some weird message <p6eval> rakudo 55a62a: OUTPUT«No applicable candidates found to dispatch to for 'infix:<div>'. Available candidates are::(Int $a, Int $b)current instr.: 'perl6;Rat;new' pc 461240 (src/gen/core.pir:0)» <jnthn> rakudo: my $x = Inf; say $x.WHAT <p6eval> rakudo 55a62a: OUTPUT«Num()» <bbkr> I know that Inf is kinda bugged now (Inf.Int is the max int on machine), but I have Int/Int anyway so it should give Rat? <jnthn> I expected so. <jnthn> rakudo: my $x = Inf; say $x.Int <p6eval> rakudo 55a62a: OUTPUT«-9223372036854775808» <jnthn> rakudo: my $x = Inf; say $x.Int.WHAT <p6eval> rakudo 55a62a: OUTPUT«Int()» <bbkr> see :) <jnthn> Yeah, that one looks like a bug.