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

Check scope of variables at the desugarer stage too #24

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

chrisdone
Copy link
Owner

Top-level definitions are inlined into the main one directly at the desugarer, but scope checking wasn't done first, so you had the ability to have 'dynamic binding'. I've added scope checking in the desugarer too, so that this isn't possible.

@chrisdone chrisdone merged commit 7f82766 into main Aug 23, 2024
@chrisdone chrisdone deleted the cd/2024-08-23-scope-check branch August 23, 2024 10:42
This pull request was closed.
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.

1 participant