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

Can't create a reduction operator out of a routine using the syntax [[&routine]] because of a parse error in Rakudo #3370

Closed
p6rt opened this issue Apr 21, 2014 · 3 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 21, 2014

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

Searchable as RT121692$

@p6rt
Copy link
Author

p6rt commented Apr 21, 2014

From @masak

<dalek> rakudo/nom​: 9144630 | (Elizabeth Mattijsen)++ |
src/core/SupplyOperations.pm​:
<dalek> rakudo/nom​: Mark use of local op as a hack
<dalek> rakudo/nom​: review​: rakudo/rakudo@9144630ce5
<masak> is there an RT ticket for that parse failure?
<masak> or a failing test?
* lizmat checks
<masak> m​: my &with = -> $x, $y { $x + $y }; my &infix​:<op> = &with;
say [op] 1..5
<camelia> rakudo-moar 349281​: OUTPUT«15␤»
<masak> m​: my &with = -> $x, $y { $x + $y }; say [[&with]] 1..5
<camelia> rakudo-moar 349281​: OUTPUT«===SORRY!=== Error while
compiling /tmp/M1NXm1Ot8B␤Unable to parse expression in bracketed
infix; couldn't find final ']' [...]
<masak> std​: my &with = -> $x, $y { $x + $y }; say [[&with]] 1..5
<camelia> std ec3d853​: OUTPUT«ok 00​:01 134m␤»
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 18, 2014

From @FROGGS

Fixed in rakudo/rakudo@c63233a2c1

@p6rt p6rt closed this as completed Jul 18, 2014
@p6rt
Copy link
Author

p6rt commented Jul 18, 2014

@FROGGS - 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