X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FException.pm;fp=lib%2FMoose%2FException.pm;h=c5005b45fc9f9e06f581bba97ec54eb9130ad90f;hb=833132ace8b0ab8f34b27fa46f63494befd1a258;hp=88db761a175f39ac97783899ff2d4171d34d9ba3;hpb=8f102c86c9f76bb5ac40bde661c6f665fc9c0b4f;p=gitmo%2FMoose.git 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;