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

Fix bug involving simulataneous shadowing #90

Merged
merged 3 commits into from
Nov 1, 2024
Merged

Fix bug involving simulataneous shadowing #90

merged 3 commits into from
Nov 1, 2024

Conversation

ajreynol
Copy link
Member

@ajreynol ajreynol commented Nov 1, 2024

The bug would cause shadowed symbols to be spuriously unbound due to the order in which we were processing them when the shadowing context was popped.

This would only occur if we parsed a binder that simultaneously shadowed 2 symbols at once.

A regression is added that demonstrates the issue.

@ajreynol ajreynol changed the title Fix bug involving simulataneous overloading Fix bug involving simulataneous shadowing Nov 1, 2024
Copy link
Contributor

@hansjoergschurr hansjoergschurr left a comment

Choose a reason for hiding this comment

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

Looks good, but didn't go through clang-format.

@ajreynol ajreynol merged commit 84dd280 into main Nov 1, 2024
16 checks passed
@ajreynol ajreynol deleted the simulOverload branch November 1, 2024 18:48
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