# 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);