-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
these signatures are not matched correctly #344
Labels
kind:bug
Indicates an unexpected problem or unintended behavior
Comments
As part of commit 7d0c9e1 I made these sort correctly, so I consider this fixed to the extent possible. |
StefanKarpinski
pushed a commit
that referenced
this issue
Feb 8, 2018
Support unsafe_trunc(::Type{<:Integer}, ::Integer)
KristofferC
pushed a commit
that referenced
this issue
Jun 12, 2018
cmcaine
added a commit
to cmcaine/julia
that referenced
this issue
Nov 11, 2022
Co-authored-by: Colin Caine <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stefan found this a while ago. These two signatures:
are not dispatched correctly. I believe the second one called itself.
The root of the problem is that
jl_type_match
doesn't handle invariant vs. covariant contexts correctly, unlike type intersection.The text was updated successfully, but these errors were encountered: