Skip to content

Commit

Permalink
Add REQUIRE_DYNAMIC flag to DYNAMIC::
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Jul 8, 2019
1 parent 44169c7 commit 0a05cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/PseudoStash.pm6
Expand Up @@ -99,7 +99,7 @@ my class PseudoStash is Map {
},
'DYNAMIC', sub ($cur) {
my $stash := nqp::clone($cur);
nqp::bindattr_i($stash, PseudoStash, '$!mode', DYNAMIC_CHAIN);
nqp::bindattr_i($stash, PseudoStash, '$!mode', DYNAMIC_CHAIN +| REQUIRE_DYNAMIC);
$stash.pseudo-package('DYNAMIC');
},
'CALLERS', sub ($cur) {
Expand Down

0 comments on commit 0a05cbd

Please sign in to comment.