Skip to content

fix(isolated-declarations): declare global {} should be kept even if it is not exported#3956

Merged
graphite-app[bot] merged 1 commit intomainfrom
06-28-fix_isolated-declarations_declare_global_should_be_kept_even_if_it_is_not_exported
Jun 29, 2024
Merged

fix(isolated-declarations): declare global {} should be kept even if it is not exported#3956
graphite-app[bot] merged 1 commit intomainfrom
06-28-fix_isolated-declarations_declare_global_should_be_kept_even_if_it_is_not_exported

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Jun 28, 2024

close: #3952

@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 28, 2024

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

Add the label “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.

@github-actions github-actions bot added A-ast Area - AST A-isolated-declarations Isolated Declarations labels Jun 28, 2024
Copy link
Member Author

Dunqing commented Jun 28, 2024

@codspeed-hq
Copy link

codspeed-hq bot commented Jun 28, 2024

CodSpeed Performance Report

Merging #3956 will not alter performance

Comparing 06-28-fix_isolated-declarations_declare_global_should_be_kept_even_if_it_is_not_exported (31e4c3b) with main (15ec254)

Summary

✅ 28 untouched benchmarks

@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 29, 2024

Merge activity

  • Jun 29, 1:06 AM EDT: The merge label 'merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Jun 29, 1:06 AM EDT: Boshen added this pull request to the Graphite merge queue.
  • Jun 29, 1:11 AM EDT: Boshen merged this pull request with the Graphite merge queue.

@Boshen Boshen force-pushed the 06-28-fix_isolated-declarations_declare_global_should_be_kept_even_if_it_is_not_exported branch from 232b2b6 to 31e4c3b Compare June 29, 2024 05:07
@graphite-app graphite-app bot merged commit 31e4c3b into main Jun 29, 2024
@graphite-app graphite-app bot deleted the 06-28-fix_isolated-declarations_declare_global_should_be_kept_even_if_it_is_not_exported branch June 29, 2024 05:11
@github-actions github-actions bot mentioned this pull request Jun 29, 2024
Boshen added a commit that referenced this pull request Jun 29, 2024
## [0.16.1] - 2024-06-29

### Features

- 7b38bde parser: Parse modifiers with `parse_modifiers` (#3948)
(DonIsaac)
- f64ad4b semantic: Make jsdoc building optional (turned off by default)
(#3955) (Boshen)

### Bug Fixes

- 51e54f9 codegen: Should print `TSModuleDeclarationKind` instead of
just `module` (#3957) (Dunqing)
- 31e4c3b isolated-declarations: `declare global {}` should be kept even
if it is not exported (#3956) (Dunqing)

### Refactor

- 2705df9 linter: Improve diagnostic labeling (#3960) (DonIsaac)
- 15ec254 semantic: Remove the unused `Semantic::build2` function
(Boshen)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
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-ast Area - AST A-isolated-declarations Isolated Declarations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the result of "isolatedDeclaration" removes the global declare

2 participants