Remove debugging cruft
Dave Rolsky [Fri, 28 Aug 2009 20:20:07 +0000 (15:20 -0500)]
lib/Class/MOP/Package.pm

index fd745db..7197445 100644 (file)
@@ -331,7 +331,7 @@ sub add_method {
         # The method object won't be created until required.
         $body = $method;
     }
-    Carp::cluck('wtf') unless defined $self->_method_map;
+
     $self->_method_map->{$method_name} = $method;
 
     my ( $current_package, $current_name ) = Class::MOP::get_code_info($body);