Skip Menu |

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

Report information
The Basics
Id: 48849
Status: new
Priority: 0/
Queue: MooseX-Types

People
Owner: Nobody in particular
Requestors: hdp [...] pobox.com
Cc:
AdminCc:

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



Subject: coercing parameterized types fails
Date: Wed, 19 Aug 2009 12:01:29 -0700
To: bugs-moosex-types <bugs-moosex-types [...] rt.cpan.org>
From: Hans Dieter Pearcey <hdp [...] pobox.com>
coerce ArrayRef[Whatever], from <anything>, ...; # somewhere else: has foo => (isa => ArrayRef[Whatever], coerce => 1); This fails, probably because the two calls to 'ArrayRef' aren't matching in some internals. If I save the first one in a variable and reuse it, it coerces as I expect. hdp.