projects
/
gitmo/MooseX-StrictConstructor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix for compat with Moose 1.25
[gitmo/MooseX-StrictConstructor.git]
/
lib
/
MooseX
/
StrictConstructor
/
Trait
/
Class.pm
diff --git
a/lib/MooseX/StrictConstructor/Trait/Class.pm
b/lib/MooseX/StrictConstructor/Trait/Class.pm
index
c6865c6
..
579b6c2
100644
(file)
--- a/
lib/MooseX/StrictConstructor/Trait/Class.pm
+++ b/
lib/MooseX/StrictConstructor/Trait/Class.pm
@@
-27,7
+27,7
@@
around '_inline_BUILDALL' => sub {
'Moose->throw_error("Found unknown attribute(s) passed to the constructor: @bad");',
'}',
);
-};
+} if $Moose::VERSION >= 1.9900;
# If the base class role is applied first, and then a superclass is added, we
# lose the role.