X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes.pm;h=a19d709466f644bc89820847a1ebd07cdc4b97ac;hb=442e42ba3e90b69452a0c8c2a78cd55d2304262a;hp=55bca7ef600ef8410f30d212773dda2867448f3d;hpb=4e6dc81d073596e98bdf19f5884ee2397da31b5e;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 55bca7e..a19d709 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -20,7 +20,7 @@ use Scalar::Util 'reftype'; use namespace::clean -except => [qw( meta )]; use 5.008; -our $VERSION = '0.12'; +our $VERSION = '0.14'; my $UndefMsg = q{Action for type '%s' not yet defined in library '%s'}; =head1 SYNOPSIS @@ -375,7 +375,7 @@ sub type_export_generator { ## Return an anonymous subroutine that will generate the proxied type ## constraint for you. - return subname "__ANON__::$name" => sub { + return subname "__TYPE__::$name" => sub { my $type_constraint = $class->create_base_type_constraint($name); if(defined(my $params = shift @_)) {