forked from Raku/nqp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jvm] Allow 'chain' op to use child as callee
Modify the 'chain' op to allow the option to use the first child as the callee. Before the name of the op served as the operator sub and the children the operands. This modification makes it so that, if there is no name provided to the chain, child 0 serves as the operator and children 1 and 2 the operands. This modification is being made to coincide with a Rakudo development allowing negated chained ops to continue to work as chained. See <rakudo/rakudo#1304>.
- Loading branch information
1 parent
d71bd73
commit b88a982
Showing
1 changed file
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters