Skip to content

Commit

Permalink
Reverted type check caching, breaks a spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Feb 22, 2019
1 parent 5f07a39 commit 9b65b33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Perl6/Metamodel/CurriedRoleHOW.nqp
Expand Up @@ -100,6 +100,7 @@ class Perl6::Metamodel::CurriedRoleHOW
method update_role_typecheck_list($obj) {
my @rtl;
nqp::push(@rtl, $!curried_role);
# XXX Not sure if it makes sense adding roles from group into the type checking.
# for $!curried_role.HOW.role_typecheck_list($obj) {
# nqp::push(@rtl, $_);
# }
Expand All @@ -110,9 +111,6 @@ class Perl6::Metamodel::CurriedRoleHOW
}
}
@!role_typecheck_list := @rtl;
unless self.archetypes.generic {
nqp::settypecache($obj, @rtl);
}
}

method complete_parameterization($obj) {
Expand Down

0 comments on commit 9b65b33

Please sign in to comment.