Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eager on a Range constructed with Range math operators spills guts #5553

Closed
p6rt opened this issue Aug 10, 2016 · 3 comments
Closed

eager on a Range constructed with Range math operators spills guts #5553

p6rt opened this issue Aug 10, 2016 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 10, 2016

Migrated from rt.perl.org#128887 (status was 'resolved')

Searchable as RT128887$

@p6rt
Copy link
Author

p6rt commented Aug 10, 2016

From @zoffixznet

m​: say eager (2.5..^7.5)
rakudo-moar e829a9​: OUTPUT«(2.5 3.5 4.5 5.5 6.5)␤»

m​: say eager (^10+5)/2
rakudo-moar e829a9​: OUTPUT«P6opaque​: get_boxed_ref could not unbox for the representation '20' of type Rat␤ in block <unit> at <tmp> line 1␤␤»

m​: say ((^10+5)/2)[$_] for ^5
rakudo-moar e829a9​: OUTPUT«2.5␤3.5␤4.5␤5.5␤6.5␤»

@p6rt
Copy link
Author

p6rt commented Dec 13, 2016

From @zoffixznet

On Wed, 10 Aug 2016 06​:54​:27 -0700, cpan@​zoffix.com wrote​:

m​: say eager (2.5..^7.5)
rakudo-moar e829a9​: OUTPUT«(2.5 3.5 4.5 5.5 6.5)␤»

m​: say eager (^10+5)/2
rakudo-moar e829a9​: OUTPUT«P6opaque​: get_boxed_ref could not unbox for
the representation '20' of type Rat␤ in block <unit> at <tmp> line
1␤␤»

m​: say ((^10+5)/2)[$_] for ^5
rakudo-moar e829a9​: OUTPUT«2.5␤3.5␤4.5␤5.5␤6.5␤»

Fix​: rakudo/rakudo@1d46004dd3575a02f3656b456
Test​: Raku/roast@d23534b2d7

@p6rt p6rt closed this as completed Dec 13, 2016
@p6rt
Copy link
Author

p6rt commented Dec 13, 2016

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant