Can't inline_constructor for Moose::Exception
Shawn M Moore [Fri, 15 Jun 2012 18:15:13 +0000 (13:15 -0500)]
lib/Moose/Exception.pm

index 88db761..c5005b4 100644 (file)
@@ -3,8 +3,8 @@ use Moose;
 extends 'Throwable::Error';
 
 
-
-__PACKAGE__->meta->make_immutable;
+# can't inline constructor because of Throwable::Error's API
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
 no Moose;
 1;