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

Guard module names #347

Merged
merged 2 commits into from
Nov 17, 2023
Merged

Guard module names #347

merged 2 commits into from
Nov 17, 2023

Conversation

hendrikvanantwerpen
Copy link
Collaborator

@hendrikvanantwerpen hendrikvanantwerpen commented Nov 11, 2023

« #340

Module names were not guarded, which led to a situation where variable names could resolve to a module name.

This PR changes that and ensures module names are always guarded by GUARD:MODULE, preventing this bug.

A new bug regression tests has been added to test for this case.

@hendrikvanantwerpen hendrikvanantwerpen requested a review from a team as a code owner November 11, 2023 16:29
@hendrikvanantwerpen hendrikvanantwerpen self-assigned this Nov 11, 2023
Base automatically changed from js-only-export-main to main November 13, 2023 18:54
Copy link
Contributor

@robrix robrix left a comment

Choose a reason for hiding this comment

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

Heh, I had a mental note to investigate this but you beat me to it 😄 Nice one!

@BekaValentine: heads up: I believe this will conflict with the stuff we were doing wrt the VEA living spec, tho I think it should be easy to reconcile (famous last words).

@hendrikvanantwerpen hendrikvanantwerpen merged commit 728cc58 into main Nov 17, 2023
6 checks passed
@hendrikvanantwerpen hendrikvanantwerpen deleted the module-guard branch November 17, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants