We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry for the bad title (I lack vocabulary on that topic, please edit it). It looks like a #265 problem:
julia> foo(::Type{<:Union{Int8,Int,UInt}}) = 1; julia> foo(Union{Int,UInt}) 1 julia> foo(::Union) = 2; julia> foo(Union{Int,UInt}) 1 julia> foo(Union{Int8,UInt}) 2 julia> foo(Union{Int,UInt}) # now works correctly 2
The text was updated successfully, but these errors were encountered:
Likely the same as #11840
Sorry, something went wrong.
Seems to work now. The first method is always more specific, and 1 is always returned.
1
add test for #22792
bd0198e
add test for #22792 (#26707)
d590bb1
No branches or pull requests
Sorry for the bad title (I lack vocabulary on that topic, please edit it). It looks like a #265 problem:
The text was updated successfully, but these errors were encountered: