Skip to content

Commit

Permalink
Use nqp::p6capturelexwhere when calling the default value closure
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Mar 5, 2018
1 parent 245102d commit 4fa3fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/BOOTSTRAP.nqp
Expand Up @@ -618,7 +618,7 @@ my class Binder {
$default_value;
}
else {
$default_value()
nqp::p6capturelexwhere($default_value.clone)();
}
}

Expand Down

0 comments on commit 4fa3fa9

Please sign in to comment.