From: Dave Rolsky Date: Fri, 29 Aug 2008 18:44:17 +0000 (+0000) Subject: When we reinitialize from the super meta class, we need to also reset X-Git-Tag: 0.55_04~2^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=725939f5b9d2b28f568ef527e0d4eebf145811fb;p=gitmo%2FMoose.git When we reinitialize from the super meta class, we need to also reset constructor & destructor class from the super's meta. --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 43b74f6..7c2bf9f 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -356,6 +356,9 @@ sub _fix_metaclass_incompatability { method_metaclass => $super_meta->method_metaclass, instance_metaclass => $super_meta->instance_metaclass, ); + + $self->$_( $super_meta->$_ ) + for qw( constructor_class destructor_class ); } return $self;