Permalink
Browse files

Fix a really silly bug in method cache construction.

  • Loading branch information...
1 parent 6a1bb2a commit 5d9c6432693a8ad327ef9640543220add2cf8f4f @jnthn jnthn committed Jan 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/metamodel/how/NQPClassHOW.pm
@@ -274,8 +274,8 @@ knowhow NQPClassHOW {
for @!mro {
my %methods := $_.HOW.method_table($_);
for %methods {
- unless %methods{$_.key} {
- %methods{$_.key} := $_.value;
+ unless %cache{$_.key} {
+ %cache{$_.key} := $_.value;
}
}
}

0 comments on commit 5d9c643

Please sign in to comment.