Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
xblock needs to want is argument
  • Loading branch information
TimToady committed Dec 14, 2015
1 parent a22c412 commit e62d9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -1085,7 +1085,7 @@ Compilation unit '$file' contained the following violations:
}

method xblock($/) {
make QAST::Op.new( $<EXPR>.ast, $<pblock>.ast, :op('if'), :node($/) );
make QAST::Op.new( WANTED($<EXPR>.ast), $<pblock>.ast, :op('if'), :node($/) );
}

method pblock($/) {
Expand Down

0 comments on commit e62d9a7

Please sign in to comment.