Skip to content

refactor(transformer/tagged-template): rename var#18031

Merged
graphite-app[bot] merged 1 commit intomainfrom
om/01-15-refactor_transformer_tagged-template_rename_var
Jan 15, 2026
Merged

refactor(transformer/tagged-template): rename var#18031
graphite-app[bot] merged 1 commit intomainfrom
om/01-15-refactor_transformer_tagged-template_rename_var

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jan 15, 2026

Follow-on after #15834. Pure refactor. Rename a var so it better describes what it contains.

@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Jan 15, 2026
Copy link
Member Author

overlookmotel commented Jan 15, 2026


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.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 15, 2026

Merging this PR will not alter performance

✅ 38 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing om/01-15-refactor_transformer_tagged-template_rename_var (5c32920) with main (23449e0)2

Open in CodSpeed

Footnotes

  1. 7 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.

  2. No successful run was found on om/01-15-refactor_transformer_tagged-template_merge_functions (40fa539) during the generation of this report, so main (23449e0) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR renames a variable from quasi to template_lit in the tagged template transform plugin to better describe its purpose. The variable holds a TemplateLiteral struct, and the new name reduces ambiguity since "quasi" is also used to refer to individual quasi elements within template literals.

Changes:

  • Renamed the quasi variable to template_lit throughout the transform_tagged_template and transform_template_literal functions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@graphite-app graphite-app bot added the 0-merge Merge with Graphite Merge Queue label Jan 15, 2026
@graphite-app
Copy link
Contributor

graphite-app bot commented Jan 15, 2026

Merge activity

Follow-on after #15834. Pure refactor. Rename a var so it better describes what it contains.
@graphite-app graphite-app bot force-pushed the om/01-15-refactor_transformer_tagged-template_merge_functions branch from 40fa539 to 651abb9 Compare January 15, 2026 13:45
@graphite-app graphite-app bot force-pushed the om/01-15-refactor_transformer_tagged-template_rename_var branch from 5c32920 to b332934 Compare January 15, 2026 13:46
Base automatically changed from om/01-15-refactor_transformer_tagged-template_merge_functions to main January 15, 2026 13:52
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jan 15, 2026
@graphite-app graphite-app bot merged commit b332934 into main Jan 15, 2026
22 checks passed
@graphite-app graphite-app bot deleted the om/01-15-refactor_transformer_tagged-template_rename_var branch January 15, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants