if a union type has no common ancestors, ->parent should return undef
authorJesse Luehrs <doy@tozt.net>
Sat, 17 Sep 2011 23:01:01 +0000 (18:01 -0500)
committerJesse Luehrs <doy@tozt.net>
Sat, 17 Sep 2011 23:01:01 +0000 (18:01 -0500)
commit86036fe3c7982d2ac07fc1377988d5b2ab43aa13
treeee91bc4896090ca7b1822418b859d3dcc42e0dba
parent98fb200c2916c8e70c6b2bd4c9cf3bb57bec4575
if a union type has no common ancestors, ->parent should return undef
lib/Moose/Meta/TypeConstraint/Union.pm
t/type_constraints/union_types.t