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

Send type declarations in compiled thunk to interpreter, fix #2586 #4893 #13749

Closed
wants to merge 1 commit into from

Conversation

ihnorton
Copy link
Member

This is admittedly a band-aid in that it doesn't address the issues mentioned in #8051, but does help a bit.

if ((jl_is_toplevel_only_expr(expr) ||
head == abstracttype_sym ||
head == compositetype_sym ||
head == bitstype_sym) &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add these to jl_is_toplevel_only_expr. However I think there is a remaining problem if the expression uses local variables.

@JeffBezanson
Copy link
Member

I think this should be addressed more directly by fixing #10472.

@tkelman tkelman deleted the ihn/fix2586 branch August 9, 2017 21:21
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.

2 participants