From 04bfe2104d25bf94e3780f2bd9d74451d2b24608 Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 13 Apr 2009 23:17:43 -0500 Subject: fix up some comments --- lib/MooseX/NonMoose/Meta/Role/Constructor.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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; } -- cgit v1.2.3-54-g00ecf