Remove more deprecated stuff
gfx [Sun, 20 Dec 2009 07:43:28 +0000 (16:43 +0900)]
lib/Mouse/Meta/TypeConstraint.pm

index b2e7fbf..24b9151 100644 (file)
@@ -24,13 +24,6 @@ sub new {
 
     my $check = delete $args{optimized};
 
-    if($args{_compiled_type_constraint}){
-        Carp::cluck("'_compiled_type_constraint' has been deprecated, use 'optimized' instead")
-            if Mouse::Util::_MOUSE_VERBOSE;
-
-        $check = $args{_compiled_type_constraint};
-    }
-
     if($check){
         $args{hand_optimized_type_constraint} = $check;
         $args{compiled_type_constraint}       = $check;