Skip to content

Commit

Permalink
Wantify arglist in postcircumfix:sym<( )>
Browse files Browse the repository at this point in the history
Fixes 131502: https://rt.perl.org/Public/Bug/Display.html?id=131502

Not 100% sure this is the right place for the want, since ticket
affects only WhateverCode's code in the args and, say,
`-> $ {  }(* == 42, -> $a { $a == 70 })` will warn only about
the `==` in WhateverCode, not the one in the block.
  • Loading branch information
zoffixznet committed Jan 10, 2018
1 parent a0486e5 commit fa136be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -7617,7 +7617,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
}

method postcircumfix:sym<( )>($/) {
make $<arglist>.ast;
make wanted($<arglist>.ast, 'postcircumfix()/args');
}

method value:sym<quote>($/) {
Expand Down

0 comments on commit fa136be

Please sign in to comment.