On Thu, 24 Nov 2016 11:42:36 -0800, nicholas wrote:
> On Thu, 24 Nov 2016 11:28:06 -0800, alex.jakime...@gmail.com wrote:
> > *Code:*
> > 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
> >
> >
> > There is no Num in the code, there is no 20, and the rest is just
> > internal
> > stuff that makes no sense to the user.
> >
> > In some sense, this is a subset of
> > https://rt.perl.org/Ticket/Display.html?id=128857
> >
> > See this IRC log for some background:
> > https://irclog.perlgeek.de/perl6/2016-11-24#i_13624557
> 
> More discussion starts here:
> 
> http://irclog.perlgeek.de/perl6/2016-11-24#i_13624763
> 
> 19:35 < nwc10> this is also a bug?
> 19:35 < nwc10> m: say Inf.Rat*0
> 19:35 <+camelia> rakudo-moar 61a18c: OUTPUT«Type check failed in
> binding to nu; expected Int but got Num (NaN)␤  in block <unit> at
> <tmp> line 1␤␤»
> 19:36 < viki> nwc10: that's the same cause
> 19:36 < nwc10> OK. I'll add that to the ticket unless someone else has
> already
> 
> 19:37 < viki> nwc10: there're a couple of related tickets:
> https://rt.perl.org/Ticket/Display.html?id=127341#ticket-history and
> https://rt.perl.org/Ticket/Display.html?id=128857#ticket-history
> 19:38 < viki> And this is the commit that explains what problem we
> solved by the current situation:
> https://github.com/rakudo/rakudo/commit/498d0a4ae4572a84f80c0c572632e12017d779f3
> 19:38 < viki> So any new solutions should solve that problem too.


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

Reply via email to