Skip to content

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
@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)

2 participants