bootstrap the meta method in CMOP::Mixin too
[gitmo/Class-MOP.git] / lib / Class / MOP.pm
index fabda7d..7393ac7 100644 (file)
@@ -670,6 +670,12 @@ Class::MOP::Instance->meta->add_attribute(
 # need to replace the meta method there with a real meta method object
 Class::MOP::Object->meta->_add_meta_method;
 
+## --------------------------------------------------------
+## Class::MOP::Mixin
+
+# need to replace the meta method there with a real meta method object
+Class::MOP::Mixin->meta->_add_meta_method;
+
 require Class::MOP::Deprecated unless our $no_deprecated;
 
 # we need the meta instance of the meta instance to be created now, in order