));
sub parents {
- my $self;
+ my $self = shift;
$self->parent;
}
=item B<< $constraint->parents >>
-A synonym for C<parent>. This is useful for polymorphism with types
-that can have more than one parent.
+Returns all of the types parents as an list of type constraint objects.
=item B<< $constraint->constraint >>