Skip to content

Comments

refactor(semantic)!: remove SymbolFlags::Export#7414

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-22-refactor_semantic_remove_symbolflags_export
Nov 22, 2024
Merged

refactor(semantic)!: remove SymbolFlags::Export#7414
graphite-app[bot] merged 1 commit intomainfrom
11-22-refactor_semantic_remove_symbolflags_export

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Nov 22, 2024

close: #7338
close: #7344

The SymbolFlags::Export is Initially used to solve ExportSpecifier that is not IdentifierReference that causes we cannot determine whether a Binding is not used everywhere by Semantic.

Since #3820 this problem is solved, so we don't need SymbolFlags::Export no longer. Also, removing this can help us easier to pass the Semantic check in Transformer

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 22, 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.

@Dunqing Dunqing changed the title refactor(semantic): remove SymbolFlags::Export refactor(semantic): remove SymbolFlags::Export Nov 22, 2024
@Dunqing Dunqing changed the title refactor(semantic): remove SymbolFlags::Export refactor(semantic)!: remove SymbolFlags::Export Nov 22, 2024
@github-actions github-actions bot added A-semantic Area - Semantic A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Nov 22, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 22, 2024

CodSpeed Performance Report

Merging #7414 will not alter performance

Comparing 11-22-refactor_semantic_remove_symbolflags_export (27b2268) with main (7ff9f13)

Summary

✅ 30 untouched benchmarks

@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Nov 22, 2024
Copy link
Member

Boshen commented Nov 22, 2024

Merge activity

  • Nov 22, 4:11 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 22, 4:11 AM EST: A user added this pull request to the Graphite merge queue.
  • Nov 22, 4:31 AM EST: A user merged this pull request with the Graphite merge queue.

close: #7338
close: #7344

The `SymbolFlags::Export` is Initially used to solve `ExportSpecifier` that is not `IdentifierReference` that causes we cannot determine whether a Binding is not used everywhere by `Semantic`.

Since #3820 this problem is solved, so we don't need `SymbolFlags::Export` no longer. Also, removing this can help us easier to pass the `Semantic` check in `Transformer`
Boshen pushed a commit that referenced this pull request Nov 22, 2024
Boshen pushed a commit that referenced this pull request Nov 22, 2024
@Boshen Boshen force-pushed the 11-22-refactor_linter_only-used-in-recursion_improve_implementation_to_remove_using_symbolflags_export branch from 32228c2 to c90537f Compare November 22, 2024 09:18
@Boshen Boshen force-pushed the 11-22-refactor_semantic_remove_symbolflags_export branch from 338571d to 27b2268 Compare November 22, 2024 09:18
Base automatically changed from 11-22-refactor_linter_only-used-in-recursion_improve_implementation_to_remove_using_symbolflags_export to main November 22, 2024 09:27
@graphite-app graphite-app bot merged commit 27b2268 into main Nov 22, 2024
@graphite-app graphite-app bot deleted the 11-22-refactor_semantic_remove_symbolflags_export branch November 22, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-semantic Area - Semantic A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

semantic: missing Export flag in exported variable declaration

2 participants