Skip to content
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

fix a transitivity error in method specificity #29405

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

JeffBezanson
Copy link
Member

I discovered this while working on #29269. It doesn't seem to cause much of a problem now, because the corresponding type intersections are (incorrectly) empty. However this is required for the #29269 fix to avoid generating fairly bad ambiguity problems.

@JeffBezanson JeffBezanson added types and dispatch Types, subtyping and method dispatch bugfix This change fixes an existing bug labels Sep 28, 2018
@JeffBezanson JeffBezanson added the minor change Marginal behavior change acceptable for a minor release label Oct 4, 2018
@JeffBezanson
Copy link
Member Author

This changes method sort order, albeit in a fairly minor way. I'll merge it now so we can see how it goes.

@JeffBezanson JeffBezanson merged commit d02f4f0 into master Oct 4, 2018
@JeffBezanson JeffBezanson deleted the jb/transitivityfix branch October 4, 2018 01:28
perrutquist added a commit to perrutquist/StaticNumbers.jl that referenced this pull request Oct 17, 2018
The code stopped working after
JuliaLang/julia#29405

The reasons are unclear, but this change will make it work,
and there's always the option to make `Static(x) = static(x)`
in the future.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug minor change Marginal behavior change acceptable for a minor release types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant