Skip to content
Permalink
Browse files

Reverted type check caching, breaks a spec test

  • Loading branch information...
vrurg committed Feb 22, 2019
1 parent 5f07a39 commit 9b65b33bada4ed92d4b937379dedb3847c9ecdd3
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/Perl6/Metamodel/CurriedRoleHOW.nqp
@@ -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, $_);
# }
@@ -110,9 +111,6 @@ class Perl6::Metamodel::CurriedRoleHOW
}
}
@!role_typecheck_list := @rtl;
unless self.archetypes.generic {
nqp::settypecache($obj, @rtl);
}
}

method complete_parameterization($obj) {

0 comments on commit 9b65b33

Please sign in to comment.
You can’t perform that action at this time.