summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-13 23:17:43 -0500
committerdoy <doy@tozt.net>2009-04-13 23:17:43 -0500
commit04bfe2104d25bf94e3780f2bd9d74451d2b24608 (patch)
treec5cf5c015f404e01c0ccd10d335d82204144325c /lib
parent4ea8fc9fe89dc29a9132cdf946714264550aee9b (diff)
downloadmoosex-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.pm3
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;
}