projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8f102c8
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Exception.pm
b/lib/Moose/Exception.pm
index
88db761
..
c5005b4
100644
(file)
--- 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;