rename exports __TYPE__:: instead of __ANON__:: because stevan likes that better :)
Rafael Kitover [Mon, 15 Jun 2009 00:39:26 +0000 (17:39 -0700)]
lib/MooseX/Types.pm

index 55bca7e..e51a0c0 100644 (file)
@@ -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 @_)) {