add manual coverage & spelling tests. Fix spelling errors
[gitmo/MooseX-Types.git] / lib / MooseX / Types / UndefinedType.pm
index 2e4ce6b..e4ed59d 100644 (file)
@@ -1,11 +1,4 @@
 package MooseX::Types::UndefinedType;
-our $VERSION = "0.22";
-
-=head1 NAME
-
-MooseX::Types::UndefinedType - Represents a not yet defined type
-
-=cut
 
 use warnings;
 use strict;
@@ -49,6 +42,14 @@ sub name {
     return $_[0]->{name};
 }
 
+=head2 can_be_inlined
+
+Always returns false. Needed for compatibility with Moose 2.0100+.
+
+=cut
+
+sub can_be_inlined { 0 }
+
 =head2 __autovivify
 
 Try to see if the type constraint has yet been defined and if so create it.
@@ -102,10 +103,6 @@ L<Moose::Util::TypeConstraints>,
 L<Moose::Meta::TypeConstraint>,
 L<Carp::Clan>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify