pass in @_ % 2 == 1 for compat
Yuval Kogman [Fri, 15 Aug 2008 15:38:49 +0000 (15:38 +0000)]
lib/Moose/Meta/Class.pm

index 0da1bd9..8cb2411 100644 (file)
@@ -312,7 +312,7 @@ sub _fix_metaclass_incompatability {
                 # at this point anyway, so it's very
                 # much an obscure edge case anyway
                 $self = $meta->reinitialize(
-                    package             => $self->name,
+                    $self->name,
                     attribute_metaclass => $meta->attribute_metaclass,
                     method_metaclass    => $meta->method_metaclass,
                     instance_metaclass  => $meta->instance_metaclass,