Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Fix a really silly bug in method cache construction.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jan 23, 2011
1 parent 6a1bb2a commit 5d9c643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metamodel/how/NQPClassHOW.pm
Expand Up @@ -274,8 +274,8 @@ knowhow NQPClassHOW {
for @!mro { for @!mro {
my %methods := $_.HOW.method_table($_); my %methods := $_.HOW.method_table($_);
for %methods { for %methods {
unless %methods{$_.key} { unless %cache{$_.key} {
%methods{$_.key} := $_.value; %cache{$_.key} := $_.value;
} }
} }
} }
Expand Down

0 comments on commit 5d9c643

Please sign in to comment.