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(semantic): do not create a global symbol for declare global {} #6004

Conversation

DonIsaac
Copy link
Collaborator

@DonIsaac DonIsaac commented Sep 23, 2024

Global augmentation declarations do not create a symbol named global, so neither should we.

Copy link

graphite-app bot commented Sep 23, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Collaborator Author

DonIsaac commented Sep 23, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @DonIsaac and the rest of your teammates on Graphite Graphite

@DonIsaac DonIsaac marked this pull request as ready for review September 23, 2024 18:04
@github-actions github-actions bot added A-semantic Area - Semantic A-ast Area - AST A-transformer Area - Transformer / Transpiler labels Sep 23, 2024
Copy link

codspeed-hq bot commented Sep 23, 2024

CodSpeed Performance Report

Merging #6004 will not alter performance

Comparing don/09-23-fix_semantic_do_not_create_a_global_symbol_for_declare_global_ (5238027) with don/09-23-feat_parser_use_bindingidentifier_for_namespace_declaration_names (b201de1)

Summary

✅ 29 untouched benchmarks

@DonIsaac DonIsaac force-pushed the don/09-23-feat_parser_use_bindingidentifier_for_namespace_declaration_names branch from 1f49921 to 46d12f0 Compare September 24, 2024 18:25
@DonIsaac DonIsaac force-pushed the don/09-23-fix_semantic_do_not_create_a_global_symbol_for_declare_global_ branch from 5d2b039 to 06ce46e Compare September 24, 2024 18:25
@DonIsaac DonIsaac force-pushed the don/09-23-feat_parser_use_bindingidentifier_for_namespace_declaration_names branch from 46d12f0 to b201de1 Compare September 24, 2024 18:30
@DonIsaac DonIsaac force-pushed the don/09-23-fix_semantic_do_not_create_a_global_symbol_for_declare_global_ branch from 06ce46e to 5238027 Compare September 24, 2024 18:30
@Boshen Boshen closed this Sep 25, 2024
Boshen pushed a commit that referenced this pull request Sep 25, 2024
#6040)

Re-creation of #6004 to unblock it from down-stack PRs. @Boshen has already reviewed the previous PR and determined this to be correct behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ast Area - AST A-semantic Area - Semantic A-transformer Area - Transformer / Transpiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants