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

juliac: add invokelatest_gr override to juliac-buildscript.jl #57205

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

topolarity
Copy link
Member

This extends the existing invokelatest hack to treat the current world as the latest world for globalref lookups.

Since this came up, @Keno can you confirm that any world-age-affecting operations on bindings still require eval()?
Are there any imports / assignments / etc. that might bump the world age by changing a binding?

This is extends the existing `invokelatest` hack to treat the current
world as the latest world for globalref lookups.
@topolarity topolarity requested review from Keno and gbaraldi January 30, 2025 20:04
@Keno
Copy link
Member

Keno commented Jan 30, 2025

World-age affecting operations are required to be toplevel, but yes, imports and assignments (at top-level) can and do bump the world age.

@topolarity topolarity merged commit 162cfb3 into JuliaLang:master Jan 31, 2025
7 checks passed
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