changed the way subtypes are made so that we delegate the job to the actual type...
authorJohn Napiorkowski <jjnapiork@cpan.org>
Thu, 23 Oct 2008 15:45:50 +0000 (15:45 +0000)
committerJohn Napiorkowski <jjnapiork@cpan.org>
Thu, 23 Oct 2008 15:45:50 +0000 (15:45 +0000)
commit9ceb576e49f52788851a510d4203b78f87443ea3
tree4c2c10ba71a3baee7d48d2aa847f3598c5d4745f
parent90e788848a55f0aabffc147603164a044b1b57dc
changed the way subtypes are made so that we delegate the job to the actual type constraint parent, rather than have a bunch of exceptions in M:U:Constraints.  This will allow up to properly subtype Moose::Meta::Constraint in the MooseX namespace.  Added a test to show the bug this code is trying to solve
lib/Moose/Meta/TypeConstraint.pm
lib/Moose/Meta/TypeConstraint/Parameterized.pm
lib/Moose/Meta/TypeConstraint/Union.pm
lib/Moose/Util/TypeConstraints.pm
t/040_type_constraints/016_subtyping_parameterized_types.t
t/040_type_constraints/030-class_subtypes.t [new file with mode: 0644]