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 jl_method_lookup_by_type disabling the wrong cache #18415

Merged
merged 1 commit into from
Sep 9, 2016
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Sep 8, 2016

we want cache=false to disable putting the method in mt->cache (possibly with a wider signature)
but it should still be doing the expected unique-ing through the method->specializations cache

fix #18404

we want cache=false to disable putting the method in mt->cache (possibly with a wider signature)
but it should still be doing the expected unique-ing through the method->specializations cache

fix #18404
@tkelman
Copy link
Contributor

tkelman commented Sep 8, 2016

should it be safe to backport this?

@vtjnash
Copy link
Member Author

vtjnash commented Sep 8, 2016

yes, this was a bug in #18191

@StefanKarpinski StefanKarpinski added this to the 0.5.x milestone Sep 8, 2016
@vtjnash vtjnash merged commit d3d0dec into master Sep 9, 2016
@vtjnash vtjnash deleted the jn/18404 branch September 9, 2016 02:41
tkelman pushed a commit that referenced this pull request Sep 16, 2016
we want cache=false to disable putting the method in mt->cache (possibly with a wider signature)
but it should still be doing the expected unique-ing through the method->specializations cache

fix #18404

(cherry picked from commit 9402af3)
ref #18415
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants