starting from the deepest tc isn't necessary
[gitmo/Moose.git] / lib / Moose / Meta / TypeConstraint.pm
index f5dd147..2b56617 100644 (file)
@@ -420,11 +420,6 @@ sub _collect_all_parents {
     return @parents;
 }
 
-sub _ancestor_count {
-    my $self = shift;
-    return scalar $self->_collect_all_parents;
-}
-
 sub create_child_type {
     my ($self, %opts) = @_;
     my $class = ref $self;