ugh, need the hack for this too
Jesse Luehrs [Mon, 27 Sep 2010 07:46:54 +0000 (02:46 -0500)]
lib/Class/MOP/Mixin/HasMethods.pm

index f3d5a4d..7c62c71 100644 (file)
@@ -225,7 +225,9 @@ sub _restore_metamethods_from {
         # instances of the new method_metaclass because that's equally broken,
         # and at least this way any issues will at least be detectable and
         # potentially fixable. -doy
-        if (!$method->isa($self->wrapped_method_metaclass)) {
+        if (!$method->isa($self->wrapped_method_metaclass)
+        # and the same issue occurs with CMOP::Method::Meta objects/:
+         && !$method->isa($self->_meta_method_class)) {
             $method->_make_compatible_with($self->method_metaclass);
         }
         $self->add_method($method->name => $method);