Better make_immutable invocation, because metaclass constructors are
Shawn M Moore [Sun, 18 Jan 2009 02:47:21 +0000 (02:47 +0000)]
still Special

lib/MooseX/Role/Parameterized/Meta/Parameter.pm

index 29fc918..1ae50b7 100644 (file)
@@ -3,8 +3,10 @@ use Moose;
 extends 'Moose::Meta::Attribute';
 
 
-
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(
+    inline_constructor => 1,
+    constructor_name   => "_new",
+);
 no Moose;
 
 1;