diff options
-rw-r--r-- | lib/MooseX/NonMoose.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MooseX/NonMoose.pm b/lib/MooseX/NonMoose.pm index 488e5e5..5ab924b 100644 --- a/lib/MooseX/NonMoose.pm +++ b/lib/MooseX/NonMoose.pm @@ -21,6 +21,7 @@ sub extends { # we need to get the non-moose constructor from the superclass # of the class where this method actually exists, regardless of what class # we're calling it on + # 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 |