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

More 1.12 compat #635

Merged
merged 1 commit into from
Jul 15, 2024
Merged

More 1.12 compat #635

merged 1 commit into from
Jul 15, 2024

Conversation

Keno
Copy link
Contributor

@Keno Keno commented Jul 5, 2024

Fixes most of the semantic issues on 1.12 - there's still some test failures related to source locations, but should be usable for day-to-day things at least.

@Keno Keno requested a review from aviatesk July 8, 2024 22:36
src/interpret.jl Outdated
Comment on lines 544 to 546
mod, name = g.mod, g.name
else
mod, name = moduleof(frame), g::Symbol
Copy link
Member

Choose a reason for hiding this comment

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

Looks like now we don't need this mod variable? Assuming these GlobalRef modules are always same as moduleof(frame).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We just just remove this block and use g directly, since we're falling back to the base interpreter anyway.

Fixes most of the semantic issues on 1.12 - there's still some test failures
related to source locations, but should be usable for day-to-day things at
least.
@Keno Keno merged commit 6031ed7 into master Jul 15, 2024
9 of 10 checks passed
Keno added a commit to JuliaDebug/LoweredCodeUtils.jl that referenced this pull request Jul 18, 2024
Depends on JuliaDebug/JuliaInterpreter.jl#635, so will need
appropriate version bumps before release.
@aviatesk aviatesk deleted the kf/112compat branch July 18, 2024 10:31
Keno added a commit to JuliaDebug/LoweredCodeUtils.jl that referenced this pull request Jul 18, 2024
* More 1.12 compat

Depends on JuliaDebug/JuliaInterpreter.jl#635, so will need
appropriate version bumps before release.

* Update src/codeedges.jl

Co-authored-by: Shuhei Kadowaki <[email protected]>

---------

Co-authored-by: Shuhei Kadowaki <[email protected]>
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