Skip to content

Commit

Permalink
RakuAST: make subset's stashes now their full name, too
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Apr 5, 2023
1 parent 458c0fc commit 03db261
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Raku/ast/type.rakumod
Expand Up @@ -716,6 +716,8 @@ class RakuAST::Type::Subset
)
).canonicalize(:colonpairs(0))
) unless nqp::eqaddr($package, $resolver.get-global);
# Update the Stash's name, too.
nqp::bindattr_s($type.WHO, Stash, '$!longname', $type.HOW.name($type));

self.IMPL-INSTALL-PACKAGE(
$resolver, self.scope, $!name, $type, $package
Expand Down

0 comments on commit 03db261

Please sign in to comment.