Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix 'is rw'/'is parcel' binding.
  • Loading branch information
jnthn committed May 18, 2013
1 parent 07e5a3f commit a754582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -274,11 +274,11 @@ else if (desiredNative == 0) {
else if ((paramFlags & SIG_ELEM_IS_RW) != 0) {
/* XXX TODO Check if rw flag is set; also need to have a
* wrapper container that carries extra constraints. */
cf.oLex[sci.oTryGetLexicalIdx(varName)] = decontValue;
cf.oLex[sci.oTryGetLexicalIdx(varName)] = arg_o;
}
else if ((paramFlags & SIG_ELEM_IS_PARCEL) != 0) {
/* Just bind the thing as is into the lexpad. */
cf.oLex[sci.oTryGetLexicalIdx(varName)] = decontValue;
cf.oLex[sci.oTryGetLexicalIdx(varName)] = arg_o;
}
else {
/* If it's an array, copy means make a new one and store,
Expand Down

0 comments on commit a754582

Please sign in to comment.