summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-14 23:28:41 -0500
committerdoy <doy@tozt.net>2009-04-14 23:28:41 -0500
commit2de267664191cc448122c9db8bed355d6fa8e9a6 (patch)
tree4ca2db8423fbffbf2a3104d6ca03a15f578279f4 /lib
parenteb7ad4a5316649951e20c8df7e734f309e07e595 (diff)
downloadmoosex-nonmoose-2de267664191cc448122c9db8bed355d6fa8e9a6.tar.gz
moosex-nonmoose-2de267664191cc448122c9db8bed355d6fa8e9a6.zip
comment
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 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