Fix type coersion of lazy values accessed using the get_value method. I've RFC'd...
authorTomas Doran <bobtfish@bobtfish.net>
Wed, 20 Aug 2008 14:02:18 +0000 (14:02 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Wed, 20 Aug 2008 14:02:18 +0000 (14:02 +0000)
commitf92cd3009abf51fadf4bf789c089b7dd430ca59a
tree6ebf826b87da39dd8f774a8c4ad03498e91e2247
parentfb175631f4f6e2449cbd0c84c95fdd136e9256a9
Fix type coersion of lazy values accessed using the get_value method. I've RFC'd this patch 3-4 times on IRC, but got no feedback. Therefore I'm committing it as it passes all the pre-existing tests, and fixes the bug I found.
Changes
lib/Moose/Meta/Attribute.pm
t/040_type_constraints/025_type_coersion_on_lazy_attributes.t [new file with mode: 0644]