-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
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
Amiguity warning #6423
Comments
What if the first f(::B, ::A{B}) = 1
f(::B{A}, ::A) = 2 The intersection case is |
But you can't just substitute an abstract type for T right? g{T}(::T, ::T) = 1 then there is no method |
|
Duplicate of #1631 |
Aah, sorry about that, hadn't seen the other issue. |
The following code which doesn't seem ambiguous to me gives an ambiguity warning:
The text was updated successfully, but these errors were encountered: