[Moose-commits] r7332 -
MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Meta
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Sun Jan 18 02:47:21 GMT 2009
Author: sartak
Date: 2009-01-17 18:47:21 -0800 (Sat, 17 Jan 2009)
New Revision: 7332
Modified:
MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Meta/Parameter.pm
Log:
Better make_immutable invocation, because metaclass constructors are
still Special
Modified: MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Meta/Parameter.pm
===================================================================
--- MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Meta/Parameter.pm 2009-01-18 02:47:00 UTC (rev 7331)
+++ MooseX-Role-Parameterized/trunk/lib/MooseX/Role/Parameterized/Meta/Parameter.pm 2009-01-18 02:47:21 UTC (rev 7332)
@@ -3,8 +3,10 @@
extends 'Moose::Meta::Attribute';
-
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(
+ inline_constructor => 1,
+ constructor_name => "_new",
+);
no Moose;
1;
More information about the Moose-commits
mailing list