From: Shawn M Moore Date: Fri, 15 Jun 2012 18:15:13 +0000 (-0500) Subject: Can't inline_constructor for Moose::Exception X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=833132ace8b0ab8f34b27fa46f63494befd1a258;p=gitmo%2FMoose.git Can't inline_constructor for Moose::Exception --- diff --git a/lib/Moose/Exception.pm b/lib/Moose/Exception.pm index 88db761..c5005b4 100644 --- a/lib/Moose/Exception.pm +++ b/lib/Moose/Exception.pm @@ -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;