Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't inline code overriding postcircumfix:<( )>.
This fixes the recent NativeCall regression.
  • Loading branch information
jnthn committed Sep 7, 2014
1 parent 9e524c9 commit bceb13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -2638,7 +2638,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
if $*SOFT {
$*W.find_symbol(['&infix:<does>'])($code, $*W.find_symbol(['SoftRoutine']));
}
else {
elsif !nqp::can($code, 'postcircumfix:<( )>') {
self.add_inlining_info_if_possible($/, $code, $block, @params);
}
}
Expand Down

0 comments on commit bceb13e

Please sign in to comment.