subtype error with KV<:Union{K,Ref{K}}
alternate constraint
#40865
Labels
types and dispatch
Types, subtyping and method dispatch
The following works as expected:
Now replace
K = Int
withK = Tuple{Int,Int}
and now it throwsMethodError: no method matching
The text was updated successfully, but these errors were encountered: