Remove commented-out code (this is why we have source control)
Dave Rolsky [Mon, 15 Jun 2009 15:31:39 +0000 (10:31 -0500)]
lib/Class/MOP/Class.pm

index 79168b5..b4012ea 100644 (file)
@@ -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;