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

Missing bit in error message about R?? in Rakudo #5613

Closed
p6rt opened this issue Aug 25, 2016 · 6 comments
Closed

Missing bit in error message about R?? in Rakudo #5613

p6rt opened this issue Aug 25, 2016 · 6 comments
Labels
LTA Less Than Awesome; typically an error message that could be better testneeded

Comments

@p6rt
Copy link

p6rt commented Aug 25, 2016

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

Searchable as RT129080$

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @masak

<masak> m​: say 1 R?? 2 !! 3
<camelia> rakudo-moar 9ccd84​: OUTPUT<<===SORRY!=== Error while
compiling <tmp>NLCannot reverse the args of because conditional
operators are too fiddly [...]
<masak> looks like we have a regression in that error message...
* masak submits rakudobug
<jnthn> regression or was it ever right? :)
<masak> or never right, right.

Note the two spaces between "of" and "because". There should be
something there, probably "?? !!".

@p6rt
Copy link
Author

p6rt commented Sep 4, 2016

From @zoffixznet

Happens with 'S' and possibly some other ops. The missing bit is the `$.operator`, which is obtained from `$op<OPER><sym>`

$ ./perl6 -e '1 S?? 2 !! 3'
===SORRY!=== Error while compiling -e
Cannot sequence the args of because conditional operators are too fiddly
at -e​:1
------> 1 S?? 2 !!⏏ 3

@p6rt
Copy link
Author

p6rt commented Sep 4, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 7, 2016

From @zoffixznet

Fixed in rakudo/rakudo@c98ab93552

Tests needed

@p6rt
Copy link
Author

p6rt commented Sep 9, 2016

From @zoffixznet

Tests added in Raku/roast@7ae8030be1

@p6rt
Copy link
Author

p6rt commented Sep 9, 2016

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

@p6rt p6rt closed this as completed Sep 9, 2016
@p6rt p6rt added LTA Less Than Awesome; typically an error message that could be better testneeded labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTA Less Than Awesome; typically an error message that could be better testneeded
Projects
None yet
Development

No branches or pull requests

1 participant