Skip to content

refactor(all)!: remove binding pattern wierdness#15925

Merged
graphite-app[bot] merged 1 commit intomainfrom
c/11-21-refactor_all_remove_binding_pattern_wierdness
Dec 22, 2025
Merged

refactor(all)!: remove binding pattern wierdness#15925
graphite-app[bot] merged 1 commit intomainfrom
c/11-21-refactor_all_remove_binding_pattern_wierdness

Conversation

@camc314
Copy link
Contributor

@camc314 camc314 commented Nov 21, 2025

fixes #11489

Note, in quite a few places i changed the span we report on to look something like this, the only reason for this is to reduce the diff in some of the snapshots

decl.type_annotation.as_ref().map_or_else(
                        || decl.id.span(),
                        |type_annotation| decl.id.span().merge(type_annotation.span()),
                    ),

@camc314 camc314 marked this pull request as ready for review November 21, 2025 00:01
Copilot AI review requested due to automatic review settings November 21, 2025 00:01
@camc314 camc314 requested a review from Dunqing as a code owner November 21, 2025 00:01
@github-actions github-actions bot added A-linter Area - Linter A-parser Area - Parser A-semantic Area - Semantic A-cli Area - CLI A-minifier Area - Minifier A-ast Area - AST A-transformer Area - Transformer / Transpiler A-codegen Area - Code Generation A-isolated-declarations Isolated Declarations A-ast-tools Area - AST tools A-formatter Area - Formatter A-linter-plugins Area - Linter JS plugins labels Nov 21, 2025
Copy link
Contributor Author

camc314 commented Nov 21, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

@github-actions github-actions bot added the C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior label Nov 21, 2025
@camc314 camc314 marked this pull request as draft November 21, 2025 00:01
@camc314 camc314 force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch 5 times, most recently from b41648c to 497689d Compare November 21, 2025 00:05
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 21, 2025

CodSpeed Performance Report

Merging #15925 will not alter performance

Comparing c/11-21-refactor_all_remove_binding_pattern_wierdness (4d4b85e) with main (2d556cb)

Summary

✅ 42 untouched
⏩ 3 skipped1

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@camc314 camc314 force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch 2 times, most recently from fb8fd1d to a46b36c Compare November 21, 2025 00:13
@camc314 camc314 force-pushed the graphite-base/15925 branch from d56c27c to 73d2946 Compare December 19, 2025 15:47
@camc314 camc314 force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch from 945f070 to f82e33f Compare December 19, 2025 15:47
@camc314 camc314 changed the base branch from graphite-base/15925 to c/12-19-chore_isolated-declarations_remove_dead_branch December 19, 2025 15:48
@camc314 camc314 changed the base branch from c/12-19-chore_isolated-declarations_remove_dead_branch to graphite-base/15925 December 19, 2025 15:51
@camc314 camc314 force-pushed the graphite-base/15925 branch from 73d2946 to 42b8328 Compare December 19, 2025 15:53
@camc314 camc314 force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch from f82e33f to 6701f1e Compare December 19, 2025 15:53
@camc314 camc314 changed the base branch from graphite-base/15925 to c/12-19-chore_isolated-declarations_remove_dead_branch December 19, 2025 15:54
Base automatically changed from c/12-19-chore_isolated-declarations_remove_dead_branch to main December 19, 2025 15:58
@camc314 camc314 force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch 5 times, most recently from 8b119fe to 4d4b85e Compare December 22, 2025 09:57
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label Dec 22, 2025
Copy link
Contributor Author

camc314 commented Dec 22, 2025

Merge activity

fixes #11489

Note, in quite a few places i changed the span we report on to look something like this, the only reason for this is to reduce the diff in some of the snapshots
```
decl.type_annotation.as_ref().map_or_else(
                        || decl.id.span(),
                        |type_annotation| decl.id.span().merge(type_annotation.span()),
                    ),
```
@graphite-app graphite-app bot force-pushed the c/11-21-refactor_all_remove_binding_pattern_wierdness branch from 4d4b85e to 3984750 Compare December 22, 2025 10:04
@graphite-app graphite-app bot merged commit 3984750 into main Dec 22, 2025
21 checks passed
@graphite-app graphite-app bot deleted the c/11-21-refactor_all_remove_binding_pattern_wierdness branch December 22, 2025 10:10
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Dec 22, 2025
graphite-app bot pushed a commit that referenced this pull request Dec 23, 2025
…binding pattern (#17277)

Follow up on #15925. Improved slightly to make it simpler.
graphite-app bot pushed a commit that referenced this pull request Dec 23, 2025
…binding pattern (#17277)

Follow up on #15925. Improved slightly to make it simpler.
graphite-app bot pushed a commit that referenced this pull request Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST A-ast-tools Area - AST tools A-cli Area - CLI A-codegen Area - Code Generation A-formatter Area - Formatter A-isolated-declarations Isolated Declarations A-linter Area - Linter A-linter-plugins Area - Linter JS plugins A-minifier Area - Minifier A-parser Area - Parser 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.

Refactor BindingPattern to remove weirdness

4 participants