On Fri, 30 Dec 2016 13:31:00 -0800, alex.jakime...@gmail.com wrote: > Code: > say Inf.Rat.perl > > Result: > P6opaque: get_boxed_ref could not unbox for the representation '20' of > type Num > in block <unit> at -e line 1 > > > What's 20? :) > Anyway, Num-ish Rats were first added in > https://github.com/rakudo/rakudo/commit/1f3ca6469759c79aa809d60a7741b3a92fb9330f > (Inf was then represented by 1/0), but then the solution was improved > in > https://github.com/rakudo/rakudo/commit/498d0a4ae4572a84f80c0c572632e12017d779f3 > > > As for the solution, it should not blow up like this for sure. But > perhaps the whole thing should be changed? I don't know. > > Interesting discussion here: https://irclog.perlgeek.de/perl6- > dev/2016-12-30#i_13826116
Thank you for the report. This is now fixed. Fix: https://github.com/rakudo/rakudo/commit/042cb7413f87277 Test: https://github.com/perl6/roast/commit/c3086244fd0c6feea