From: Dave Rolsky Date: Mon, 15 Jun 2009 15:31:39 +0000 (-0500) Subject: Remove commented-out code (this is why we have source control) X-Git-Tag: 0.86~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1b6576e0f42de3a970fcd8d87aec0d9ada17caf3;p=gitmo%2FClass-MOP.git Remove commented-out code (this is why we have source control) --- diff --git a/lib/Class/MOP/Class.pm b/lib/Class/MOP/Class.pm index 79168b5..b4012ea 100644 --- a/lib/Class/MOP/Class.pm +++ b/lib/Class/MOP/Class.pm @@ -1162,9 +1162,6 @@ sub _inline_constructor { my $name = $args{constructor_name}; - #if ( my $existing = $self->name->can($args{constructor_name}) ) { - # if ( refaddr($existing) == refaddr(\&Moose::Object::new) ) { - unless ( $args{replace_constructor} or !$self->has_method($name) ) { my $class = $self->name;