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

Reduced reassignment to global consts #791

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Reduced reassignment to global consts #791

merged 2 commits into from
Jan 2, 2024

Conversation

timholy
Copy link
Owner

@timholy timholy commented Jan 2, 2024

When a single top-level expression contains both const definitions and methods that use those consts, the add_named_dependencies! step of lines_required! can induce a dependency on the statement assigning to the const. This is problematic when your only goal is to parse signatures, as it can trigger overwriting of consts that may be needed.

Fixes #789

When a single top-level expression contains both `const` definitions and methods that use those consts, the `add_named_dependencies!` step of `lines_required!` can induce a dependency on the statement assigning to the `const`. This is problematic when your only goal is to parse signatures, as it can trigger overwriting of `consts` that may be needed.

Fixes #789
@timholy timholy merged commit 8dc2e42 into master Jan 2, 2024
10 of 11 checks passed
@timholy timholy deleted the teh/consts_noeval branch January 2, 2024 20:09
@timholy
Copy link
Owner Author

timholy commented Jan 2, 2024

...and we're green on all except Julia nightly!

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.

Julia 1.10.0 segfault at test exit (Windows-only)
1 participant