Skip to content
This repository
Browse code

Fix a really silly bug in method cache construction.

  • Loading branch information...
commit 5d9c6432693a8ad327ef9640543220add2cf8f4f 1 parent 6a1bb2a
Jonathan Worthington authored January 23, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/metamodel/how/NQPClassHOW.pm
4  src/metamodel/how/NQPClassHOW.pm
@@ -274,8 +274,8 @@ knowhow NQPClassHOW {
274 274
         for @!mro {
275 275
             my %methods := $_.HOW.method_table($_);
276 276
             for %methods {
277  
-                unless %methods{$_.key} {
278  
-                    %methods{$_.key} := $_.value;
  277
+                unless %cache{$_.key} {
  278
+                    %cache{$_.key} := $_.value;
279 279
                 }
280 280
             }
281 281
         }

0 notes on commit 5d9c643

Please sign in to comment.
Something went wrong with that request. Please try again.