Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for RT #127504
  • Loading branch information
lizmat committed Feb 10, 2016
1 parent b542946 commit b9f90bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/Actions.nqp
Expand Up @@ -8925,6 +8925,9 @@ class Perl6::Actions is HLL::Actions does STDActions {
# Works out how to look up a type. If it's not generic and is in an SC, we
# statically resolve it. Otherwise, we punt to a runtime lexical lookup.
sub instantiated_type(@name, $/) {
CATCH {
$*W.throw($/, ['X', 'NoSuchSymbol'], symbol => join('::', @name));
}
my $type := $*W.find_symbol(@name);
my $is_generic := 0;
try { $is_generic := $type.HOW.archetypes.generic }
Expand Down

0 comments on commit b9f90bc

Please sign in to comment.