Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Need to clone capture on MoarVM also.
Fixes S14-roles/parameterized-basic.t.
  • Loading branch information
jnthn committed Jan 14, 2014
1 parent eeca2f1 commit 006e107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -1887,8 +1887,7 @@ BEGIN {
$new_possibles := [] unless nqp::islist($new_possibles);

my $sig := nqp::getattr($sub, Code, '$!signature');
# XXX We may need this on Moar too.
#?if jvm
#?if !parrot
unless $done_bind_check {
# Need a copy of the capture, as we may later do a
# multi-dispatch when evaluating the constraint.
Expand Down

0 comments on commit 006e107

Please sign in to comment.