summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorToby Inkster <mail@tobyinkster.co.uk>2022-10-19 19:22:36 +0100
committerToby Inkster <mail@tobyinkster.co.uk>2022-10-19 19:22:36 +0100
commitf1c01d0780d80d03dbb96474211e5058c98e45dc (patch)
treef2ce5eb7924f81191cdf9e686bad630f328d766b /lib
parent4fde7370e70f0d436298f4d4c9e670e1f9fc9032 (diff)
Don't use Type::Tiny::XS 0.024 here either
Diffstat (limited to 'lib')
-rw-r--r--lib/Types/TypeTiny.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Types/TypeTiny.pm b/lib/Types/TypeTiny.pm
index e963193a..73d66215 100644
--- a/lib/Types/TypeTiny.pm
+++ b/lib/Types/TypeTiny.pm
@@ -213,7 +213,7 @@ sub HashLike (;@) {
constraint_generator => sub {
my $param = TypeTiny()->assert_coerce( shift );
my $check = $param->compiled_check;
- if ( __XS ge '0.024' ) {
+ if ( __XS ge '0.025' ) {
my $paramname = Type::Tiny::XS::is_known( $check );
my $xsub = defined($paramname)
? Type::Tiny::XS::get_coderef_for( "HashLike[$paramname]" )
@@ -233,7 +233,7 @@ sub HashLike (;@) {
return unless $param->can_be_inlined;
my $check = $param->compiled_check;
my $xsubname;
- if ( __XS ge '0.024' ) {
+ if ( __XS ge '0.025' ) {
my $paramname = Type::Tiny::XS::is_known( $check );
$xsubname = defined($paramname)
? Type::Tiny::XS::get_subname_for( "HashLike[$paramname]" )
@@ -311,7 +311,7 @@ sub ArrayLike (;@) {
constraint_generator => sub {
my $param = TypeTiny()->assert_coerce( shift );
my $check = $param->compiled_check;
- if ( __XS ge '0.024' ) {
+ if ( __XS ge '0.025' ) {
my $paramname = Type::Tiny::XS::is_known( $check );
my $xsub = defined($paramname)
? Type::Tiny::XS::get_coderef_for( "ArrayLike[$paramname]" )
@@ -331,7 +331,7 @@ sub ArrayLike (;@) {
return unless $param->can_be_inlined;
my $check = $param->compiled_check;
my $xsubname;
- if ( __XS ge '0.024' ) {
+ if ( __XS ge '0.025' ) {
my $paramname = Type::Tiny::XS::is_known( $check );
$xsubname = defined($paramname)
? Type::Tiny::XS::get_subname_for( "ArrayLike[$paramname]" )