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

LTA error message when trying to use [&foo] as an infix operator in Rakudo #3446

Closed
p6rt opened this issue Jul 19, 2014 · 3 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 19, 2014

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

Searchable as RT122332$

@p6rt
Copy link
Author

p6rt commented Jul 19, 2014

From @masak

* zengargoyle doesn't know what [[&foo]] means. :) so many specs skimmed...
<vendethiel> zengargoyle​: reduce with the foo sub
<zengargoyle> so subs vs operator takes an extra pair of []?
<masak> m​: sub foo($a, $b) { $a + $b }; say [[&foo]] 2, 3
<camelia> rakudo-moar 866817​: OUTPUT«5␤»
<masak> m​: sub foo($a, $b) { $a + $b }; say 2 [&foo] 3
<camelia> rakudo-moar 866817​: OUTPUT«===SORRY!===␤Error while
compiling op ifnull​: The 'ifnull' op expects two children␤»
* masak submits LTA rakudobug

Whatever the error message ends up being, it should probably not
mention ifnull ops and children. ;)

@p6rt
Copy link
Author

p6rt commented Jul 20, 2014

From @FROGGS

Test​: Raku/roast@f35b982ff4
Patch​: rakudo/rakudo@fc0cbb138c

@p6rt
Copy link
Author

p6rt commented Jul 20, 2014

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

@p6rt p6rt closed this as completed Jul 20, 2014
@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