Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 69990
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: mjd [...] icgroup.com
Cc:
AdminCc:

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



Subject: Crappy error message
Date: Wed, 3 Aug 2011 13:45:40 -0400
To: bug-moose [...] rt.cpan.org
From: Mark Dominus <mjd [...] icgroup.com>
package Bug; use Moose; has member => ( is => 'ro', isa => 'HashRef', traits => [ 'Hash' ], handles => { method => sub {} }, ); 1; In Moose 2.0005, this fails with: Not an ARRAY reference at /usr/local/lib/perl5/site_perl/5.12.3/i686- linux/Moose/Meta/Attribute/Native/Trait.pm line 111. I do not claim that what I did should work, but it should produce an intelligible error message.
Fixed in 2.0205.