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 #17219: conditionally lower ccall first arg #17224

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

ihnorton
Copy link
Member

@ihnorton ihnorton commented Jul 1, 2016

Without this compile step, ccall uses the first slotted version of the variable
regardless of whether it has been reassigned in the function body.

Fixes #17219
Fixes JuliaInterop/JavaCall.jl#37

See https://groups.google.com/forum/#!msg/julia-users/DyTQmsQaQl4/KmxQHSqACQAJ

@JeffBezanson
Copy link
Sponsor Member

Ack, sorry about this. Fix looks fine.

@Keno
Copy link
Member

Keno commented Jul 1, 2016

Test?

@tkelman tkelman added the needs tests Unit tests are required for this change label Jul 1, 2016
Without this compile step, ccall uses the first slotted version of the variable
regardless of whether it has been reassigned in the function body.

Fixes JuliaLang#17219
Fixes JuliaInterop/JavaCall.jl#37

See https://groups.google.com/forum/#!msg/julia-users/DyTQmsQaQl4/KmxQHSqACQAJ
@ihnorton
Copy link
Member Author

ihnorton commented Jul 2, 2016

Test added.

@ihnorton ihnorton merged commit 34fbf83 into JuliaLang:master Jul 2, 2016
@ihnorton ihnorton deleted the fix17219 branch July 2, 2016 04:33
@tkelman tkelman removed the needs tests Unit tests are required for this change label Jul 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants