From: Dave Rolsky Date: Mon, 19 Sep 2011 04:28:10 +0000 (-0500) Subject: Doc ->parents change for Union X-Git-Tag: 2.0300~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=392e886e3b59c1ddc69029976b1542fe0394b1e5;p=gitmo%2FMoose.git Doc ->parents change for Union --- diff --git a/Changes b/Changes index 586e22c..33bf18d 100644 --- a/Changes +++ b/Changes @@ -21,6 +21,10 @@ for, noteworthy changes. common ancestor of that union's component types. See Moose::Manual::Delta for more details. (Dave Rolsky) + * The ->parents method used to return an arrayref for union types, and a + list of one or more types for all other types. Now they all return + lists. (Dave Rolsky) + * The ->is_subtype_of and ->is_a_type_of methods have changed their behavior. Previously, they returned true if any of their member types returned true for a given type. Now, all of the member types must return