More type constraint fixes for edge cases in is_a_type_of and is_a_subtype_of when...
authorTomas Doran <bobtfish@bobtfish.net>
Tue, 7 Oct 2008 17:13:51 +0000 (17:13 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Tue, 7 Oct 2008 17:13:51 +0000 (17:13 +0000)
commit4c015454152fff7c0a2c71665d4dc5e0f39b835b
treef3f043a53c5302a44afe47d8cf843a3a4062406d
parentcbac012a1621da5d2c04ee898cc7f701f17cc045
More type constraint fixes for edge cases in is_a_type_of and is_a_subtype_of when dealing with unknown type names + tests for all possible cases (I think)
Changes
lib/Moose/Meta/TypeConstraint/Class.pm
lib/Moose/Meta/TypeConstraint/Registry.pm
lib/Moose/Meta/TypeConstraint/Role.pm
t/040_type_constraints/008_union_types.t
t/040_type_constraints/015_enum.t
t/040_type_constraints/016_subtyping_parameterized_types.t
t/040_type_constraints/020_class_type_constraint.t
t/040_type_constraints/024_role_type_constraint.t