summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MooseX/NonMoose.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MooseX/NonMoose.pm b/lib/MooseX/NonMoose.pm
index 29ab778..55bbbc9 100644
--- a/lib/MooseX/NonMoose.pm
+++ b/lib/MooseX/NonMoose.pm
@@ -36,6 +36,7 @@ sub extends {
# no reason to install a new one
return if $constructor_class_meta->can('does_role')
&& $constructor_class_meta->does_role('MooseX::NonMoose::Meta::Role::Constructor');
+
# if the constructor we're inheriting is an inlined version of the
# default moose constructor, don't do anything either
return if $constructor_class_meta->name eq 'Moose::Meta::Method::Constructor';