diff options
author | doy <doy@tozt.net> | 2009-04-14 23:29:09 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-14 23:29:09 -0500 |
commit | 05d803fdad9a28635f8b6e2ab5f33cbe659dd290 (patch) | |
tree | 811d8446eda94d493e0d0ccb285de37ed78c02cc /lib | |
parent | 2de267664191cc448122c9db8bed355d6fa8e9a6 (diff) | |
download | moosex-nonmoose-05d803fdad9a28635f8b6e2ab5f33cbe659dd290.tar.gz moosex-nonmoose-05d803fdad9a28635f8b6e2ab5f33cbe659dd290.zip |
comment fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MooseX/NonMoose.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MooseX/NonMoose.pm b/lib/MooseX/NonMoose.pm index 5ab924b..35e960c 100644 --- a/lib/MooseX/NonMoose.pm +++ b/lib/MooseX/NonMoose.pm @@ -24,7 +24,7 @@ sub extends { # XXX: get constructor name from the constructor metaclass? my $super_new = $caller_meta->find_next_method_by_name('new'); - # if we're trying to extend a moose class, just do nothing + # if we're trying to extend a (non-immutable) moose class, just do nothing return if $super_new->package_name eq 'Moose::Object'; if ($super_new->associated_metaclass->can('constructor_class')) { |