Closed vtjnash closed 1 year ago
result now seems acceptable
julia> typeintersect(Tuple{typeof(branchroute), Type{Not{Phylo.API.MatchNodeType{T, N}}}, T, N, N} where {RT, N, T<:(AbstractTree{OneTree, RT, NL, N, B} where {NL, N<:Phylo.AbstractNode{RT, NL}, B<:Phylo.AbstractBranch{RT, NL}})},
Tuple{typeof(branchroute), Type{SimpleTraits.Not{Phylo.API.MatchNodeType{T, Missing}}} where T<:LinkTree, LinkTree, Missing, Missing})
Tuple{typeof(branchroute), Type{Not{Phylo.API.MatchNodeType{T, Missing}}}, LinkTree{RT, NL, N, B} where {NL, N<:(LinkNode{RT, NL, Data, B} where {Data, B<:Phylo.AbstractBranch{RT, NL}}), B<:(LinkBranch{RT, NL})}, Missing, Missing} where {RT, T<:(LinkTree{RT, NL, N, B} where {NL, N<:(LinkNode{RT, NL, Data, B} where {Data, B<:Phylo.AbstractBranch{RT, NL}}), B<:(LinkBranch{RT, NL})})}
This isn't ideal, since it makes work much harder for inference: