Skip to content

Commit

Permalink
Adjust Binder to look for RAW instead of RW.
Browse files Browse the repository at this point in the history
  • Loading branch information
peschwa committed Sep 13, 2015
1 parent 66c0809 commit 0e3f2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -839,7 +839,7 @@ else if (namedNames == null) {
curPosArg++;
}

SixModelObject slurpyType = (flags & SIG_ELEM_IS_RW) != 0 ? gcx.List : gcx.Array;
SixModelObject slurpyType = (flags & SIG_ELEM_IS_RAW) != 0 ? gcx.List : gcx.Array;
SixModelObject sm = Ops.findmethod(tc, slurpyType,
(flags & SIG_ELEM_SLURPY_POS) != 0 ? "from-slurpy-flat" : "from-slurpy");
Ops.invokeDirect(tc, sm, slurpyFromArgs, new Object[] { slurpyType, slurpy });
Expand Down

0 comments on commit 0e3f2ee

Please sign in to comment.