projects
/
gitmo/MooseX-StrictConstructor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
0b48164
)
Style tweak
Dave Rolsky [Wed, 13 Apr 2011 19:09:42 +0000 (14:09 -0500)]
lib/MooseX/StrictConstructor/Trait/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/StrictConstructor/Trait/Class.pm
b/lib/MooseX/StrictConstructor/Trait/Class.pm
index
776953b
..
f4c106a
100644
(file)
--- a/
lib/MooseX/StrictConstructor/Trait/Class.pm
+++ b/
lib/MooseX/StrictConstructor/Trait/Class.pm
@@
-33,7
+33,9
@@
around '_inline_BUILDALL' => sub {
# lose the role.
after superclasses => sub {
my $self = shift;
- return if not @_;
+
+ return unless @_;
+
Moose::Util::MetaRole::apply_base_class_roles(
for => $self->name,
roles => ['MooseX::StrictConstructor::Role::Object'],