X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FTypeConstraint.pm;h=5650c253c7a79e3e572f0229eb2253c16f219d44;hp=f90075fec9ad43f9a53cf75b04592026837a9d4f;hb=7fc19c3fe6c387eea8d5275aa830b3a43016fabc;hpb=2b82d75d868bab0f55d4bebfaf87d7e4dc2e2777 diff --git a/lib/Mouse/Meta/TypeConstraint.pm b/lib/Mouse/Meta/TypeConstraint.pm index f90075f..5650c25 100644 --- a/lib/Mouse/Meta/TypeConstraint.pm +++ b/lib/Mouse/Meta/TypeConstraint.pm @@ -35,8 +35,6 @@ sub new { Carp::confess("Constraint for $args{name} is not a CODE reference"); } - $args{package_defined_in} ||= caller; - my $self = bless \%args, $class; $self->compile_type_constraint() if !$self->{hand_optimized_type_constraint}; @@ -242,7 +240,7 @@ Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass =head1 VERSION -This document describes Mouse version 0.50_01 +This document describes Mouse version 0.50_02 =head1 DESCRIPTION