X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes.pm;h=e51a0c08e2bcf5d7c1df674680e9dfa47b4cbf0c;hb=1150ce7231722f60b82d2b8399cd16671102f26d;hp=55bca7ef600ef8410f30d212773dda2867448f3d;hpb=4e6dc81d073596e98bdf19f5884ee2397da31b5e;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types.pm b/lib/MooseX/Types.pm index 55bca7e..e51a0c0 100644 --- a/lib/MooseX/Types.pm +++ b/lib/MooseX/Types.pm @@ -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 @_)) {