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

In the UndefVarError(::Symbol) constructor, set scope to nothing #54083

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DilumAluthge
Copy link
Member

@DilumAluthge DilumAluthge commented Apr 14, 2024

Fixes #54082
Alternative to #54084


This is one possible way to fix #54082.

Before this PR, if the UndefVarError(::Symbol) constructor is called, the scope field is left undefined.

After this PR, if the UndefVarError(::Symbol) constructor is called, the scope field is set to nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:error handling Handling of exceptions by Julia or the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change in behavior of UndefVarError(::Symbol) constructor breaks @test_throws in 1.11.0-beta1
1 participant