bump version to 0.26
[gitmo/MooseX-Types.git] / lib / MooseX / Types / UndefinedType.pm
index 02c4918..4c4c10d 100644 (file)
@@ -1,5 +1,5 @@
 package MooseX::Types::UndefinedType;
-our $VERSION = "0.23";
+our $VERSION = "0.26";
 
 =head1 NAME
 
@@ -49,6 +49,14 @@ sub name {
     return $_[0]->{name};
 }
 
+=head2 can_be_inlined
+
+Always returns false. Needed for compatbility 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.