On CPAN Testers, our latest dev release throws errors on Windows for all versions of Perl prior to 5.14 (of which there are only two so far: one 5.10.1, and the other 5.12.2). This is the error:
Attribute (max_argv_size) does not pass the type constraint because: Validation failed for 'Inf|Int' with value 1.#INF at C:/strawberry/perl/site/lib/Mouse/Util.pm line 383.
Mouse::Util::throw_error('Mouse::Meta::Attribute=HASH(0xd3993c)', 'Attribute (max_argv_size) does not pass the type constraint b...', 'data', '1.#INF', 'depth', -1) called at C:\strawberry\cpan\build\Method-Signatures-20140920.1910_001-gC1jgO\blib\lib/Method/Signatures/Signature.pm line 174
Method::Signatures::Signature::_calculate_max_args('Method::Signatures::Signature=HASH(0xd61184)') called at C:\strawberry\cpan\build\Method-Signatures-20140920.1910_001-gC1jgO\blib\lib/Method/Signatures/Signature.pm line 162
Method::Signatures::Signature::BUILD('Method::Signatures::Signature=HASH(0xd61184)', 'HASH(0xd61094)') called at C:\strawberry\cpan\build\Method-Signatures-20140920.1910_001-gC1jgO\blib\lib/Method/Signatures.pm line 828
eval {...} called at C:\strawberry\cpan\build\Method-Signatures-20140920.1910_001-gC1jgO\blib\lib/Method/Signatures.pm line 828
Method::Signatures::parse_proto('Method::Signatures=HASH(0xd60474)', '$a, $b, @c') called at C:/strawberry/perl/site/lib/Devel/Declare/MethodInstaller/Simple.pm line 65
Devel::Declare::MethodInstaller::Simple::parser('Method::Signatures=HASH(0xd60474)', 'method', 4, 1) called at C:/strawberry/perl/site/lib/Devel/Declare/MethodInstaller/Simple.pm line 24
Devel::Declare::MethodInstaller::Simple::__ANON__('method', 4) called at C:/strawberry/perl/site/lib/Devel/Declare.pm line 276
Devel::Declare::linestr_callback('const', 'method', 4) called at t/array_param.t line 17
Note that this is an error from lib/Method/Signatures/Signature.pm and not from any particular test.
Since the range of failures is so narrow, I don't want to hold up promoting this to an official release, but I also don't want to ignore the problem. Thus, I'm creating this issue so it doesn't get lost until I have time to investigate it further.
On CPAN Testers, our latest dev release throws errors on Windows for all versions of Perl prior to 5.14 (of which there are only two so far: one 5.10.1, and the other 5.12.2). This is the error:
Note that this is an error from
lib/Method/Signatures/Signature.pmand not from any particular test.Since the range of failures is so narrow, I don't want to hold up promoting this to an official release, but I also don't want to ignore the problem. Thus, I'm creating this issue so it doesn't get lost until I have time to investigate it further.