Skip to content

Commit

Permalink
Merge pull request #4713 from rakudo/rakudo-4711
Browse files Browse the repository at this point in the history
Make add_constant lookup setting symbols only
  • Loading branch information
vrurg committed Jan 12, 2022
2 parents 186bd0b + 28b5123 commit 94b9d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/World.nqp
Expand Up @@ -3034,7 +3034,7 @@ class Perl6::World is HLL::World {
}

# Find type object for the box typed we'll create.
my $type_obj := self.find_symbol(nqp::split('::', $type));
my $type_obj := self.find_symbol(nqp::split('::', $type), :setting-only);

# Go by the primitive type we're boxing. Need to create
# the boxed value and also code to produce it.
Expand Down

0 comments on commit 94b9d49

Please sign in to comment.