Remove extra newline
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint.pm
index c783a08..3e370dc 100644 (file)
@@ -133,7 +133,7 @@ sub _inline_check {
     die 'Cannot inline a type constraint check for ' . $self->name
         unless $self->has_inlined_type_constraint;
 
-    return $self->inlined()->(@_);
+    return $self->inlined->( $self, @_ );
 }
 
 sub assert_valid {
@@ -253,7 +253,6 @@ sub _compile_hand_optimized_type_constraint {
 
     unless ( ref $type_constraint ) {
         require Moose;
-        Carp::confess ("Hand optimized type constraint for " . $self->name . " is not a code reference");
         Moose->throw_error("Hand optimized type constraint is not a code reference");
     }