diff options
author | doy <doy@tozt.net> | 2009-04-13 23:17:43 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-13 23:17:43 -0500 |
commit | 04bfe2104d25bf94e3780f2bd9d74451d2b24608 (patch) | |
tree | c5cf5c015f404e01c0ccd10d335d82204144325c /lib | |
parent | 4ea8fc9fe89dc29a9132cdf946714264550aee9b (diff) | |
download | moosex-nonmoose-04bfe2104d25bf94e3780f2bd9d74451d2b24608.tar.gz moosex-nonmoose-04bfe2104d25bf94e3780f2bd9d74451d2b24608.zip |
fix up some comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MooseX/NonMoose/Meta/Role/Constructor.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/MooseX/NonMoose/Meta/Role/Constructor.pm b/lib/MooseX/NonMoose/Meta/Role/Constructor.pm index 23de2be..31e5046 100644 --- a/lib/MooseX/NonMoose/Meta/Role/Constructor.pm +++ b/lib/MooseX/NonMoose/Meta/Role/Constructor.pm @@ -7,9 +7,8 @@ around can_be_inlined => sub { my $meta = $self->associated_metaclass; my $super_new = $meta->find_method_by_name($self->name); + # XXX is this even the right test? if (!$super_new->associated_metaclass->isa($self->_expected_constructor_class)) { - # XXX: in the future, hopefully we'll be able to inline this? - #return $self->should_be_inlined; return 1; } |