Skip Menu |
Report information
Id: 130459
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: Some operations with Inf.Rat blow up (Inf.Rat.perl)
Download (untitled) / with headers
text/plain 649b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org