add a comment about package cache flags
Dave Rolsky [Thu, 28 Aug 2008 16:56:09 +0000 (16:56 +0000)]
lib/Moose/Meta/Role.pm

index 96b5d45..4496b67 100644 (file)
@@ -439,6 +439,10 @@ sub alias_method {
         { sigil => '&', type => 'CODE', name => $method_name },
         $body
     );
+
+    # Class::MOP::Class calls update_package_cache_flag here, but if
+    # we add it then a test in
+    # t/030_roles/012_method_exclusion_in_composition.t fails!
 }
 
 ## ------------------------------------------------------------------