X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FTypeConstraint%2FUnion.pm;h=25fe9e68e5f5a632a8f1b28cf1698e3a37699436;hb=d67145edcc2653d4936d9395e5d63405332b4c1b;hp=03d7f8f948b43b10370eee1a8f6a51949d7a6d25;hpb=3f562dd9cdd31a1b3ed40e7dd03f4aeeff6a5c06;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/TypeConstraint/Union.pm b/lib/Moose/Meta/TypeConstraint/Union.pm index 03d7f8f..25fe9e6 100644 --- a/lib/Moose/Meta/TypeConstraint/Union.pm +++ b/lib/Moose/Meta/TypeConstraint/Union.pm @@ -5,9 +5,18 @@ use strict; use warnings; use metaclass; -our $VERSION = '0.05'; +our $VERSION = '0.06'; our $AUTHORITY = 'cpan:STEVAN'; +# NOTE: +# this is not really correct, but +# I think it shoul be here anyway. +# In truth, this should implement +# the same abstract base/interface +# as the TC moule. +# - SL +use base 'Moose::Meta::TypeConstraint'; + __PACKAGE__->meta->add_attribute('type_constraints' => ( accessor => 'type_constraints', default => sub { [] }