This lets us remove some flaky test exceptions.
-use 5.008_003;
+use 5.008_004;
use strict;
use warnings;
@DEFINES,
BUILD_REQUIRES => \%BUILD_REQUIRES,
PREREQ_PM => \%PREREQ_PM,
- MIN_PERL_VERSION => '5.008003',
+ MIN_PERL_VERSION => '5.008004',
META_MERGE => \%META,
dist => {
PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
package Lexical::Types;
-use 5.008_003;
+use 5.008_004;
use strict;
use warnings;
=head1 DEPENDENCIES
-L<perl> 5.8.3.
+L<perl> 5.8.4.
A C compiler.
This module may happen to build with a C++ compiler as well, but don't rely on it, as no guarantee is made in this regard.
sub Int::TYPEDSCALAR { push @lines, (caller(0))[2]; () }
-SKIP: {
- skip 'Broken with threaded perls before 5.8.4' => 1
- if $Config{useithreads} and "$]" < 5.008_004;
-
+{
use Lexical::Types as => sub {
# In 5.10, this closure is compiled before hints are enabled, so no hintseval
# op is added at compile time to propagate the hints inside the eval.
::is($z, __FILE__.':6', 'pragma in use at the end');
}
TESTREQUIRED3
- @w = grep !/^warn:Attempt\s+to\s+free\s+unreferenced/, @w if "$]" <= 5.008_003;
is $@, '', 'third require test didn\'t croak prematurely';
is_deeply \@w, [ ], 'third require test didn\'t warn';
is_deeply \@decls, [ map "Int3$_", qw<X Z> ],