Skip Menu |

This queue is for tickets about the Types-ReadOnly CPAN distribution.

Report information
The Basics
Id: 104553
Status: resolved
Priority: 0/
Queue: Types-ReadOnly

People
Owner: perl [...] toby.ink
Requestors: TIMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Failed test 'Reference [{"n" => 1},{"n" => 2},{},{"n" => 4}] passes type constraint Complex
I'm also seeing some other tests fail: t/01basic.t ......... ok t/02readonly.t ...... ok t/03locked.t ........ ok t/10combinations.t .. 1/? # Failed test 'Reference [{"n" => 1},{"n" => 2},{},{"n" => 4}] passes type constraint Complex' # at t/10combinations.t line 62. # Looks like you failed 1 test of 7. t/10combinations.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/20moo.t ........... Attempt to add coercion code to a Type::Coercion which has been frozen at t/20moo.t line 37. t/20moo.t ........... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/30moose.t ......... Attempt to add coercion code to a Type::Coercion which has been frozen at t/30moose.t line 37. t/30moose.t ......... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/40mouse.t ......... skipped: Test requires module 'Mouse' but it's not found t/50typeparams.t .... ok Similar to http://www.cpantesters.org/cpan/report/448331c6-311f-11e4-92e7-39f9dfbfc7aa and http://www.cpantesters.org/cpan/report/94762970-3dce-11e4-8755-801ee0bfc7aa We're using perl 5.10.1 with all-latest CPAN modules.
On 2015-05-19 17:59:30, TIMB wrote: Show quoted text
> I'm also seeing some other tests fail: > > t/01basic.t ......... ok > t/02readonly.t ...... ok > t/03locked.t ........ ok > t/10combinations.t .. 1/? > # Failed test 'Reference [{"n" => 1},{"n" => 2},{},{"n" => 4}] > passes type constraint Complex' > # at t/10combinations.t line 62. > # Looks like you failed 1 test of 7. > t/10combinations.t .. Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/7 subtests > t/20moo.t ........... Attempt to add coercion code to a Type::Coercion > which has been frozen at t/20moo.t line 37. > t/20moo.t ........... Dubious, test returned 9 (wstat 2304, 0x900) > No subtests run > t/30moose.t ......... Attempt to add coercion code to a Type::Coercion > which has been frozen at t/30moose.t line 37. > t/30moose.t ......... Dubious, test returned 9 (wstat 2304, 0x900) > No subtests run > t/40mouse.t ......... skipped: Test requires module 'Mouse' but it's > not found > t/50typeparams.t .... ok > > Similar to http://www.cpantesters.org/cpan/report/448331c6-311f-11e4- > 92e7-39f9dfbfc7aa and http://www.cpantesters.org/cpan/report/94762970- > 3dce-11e4-8755-801ee0bfc7aa > We're using perl 5.10.1 with all-latest CPAN modules.
It seems that it fails with Type::Tiny 1.000002 and newer: http://analysis.cpantesters.org/reports_by_field?distv=Types-ReadOnly-0.002;field=mod%3AType%3A%3ATiny
I suspect it was around 0.047_06 where things started to go awry. Either way, I've now reimplemented this module pretty much from scratch (keeping the test suite almost unchanged) and it should be fixed.