Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Mar 21, 2025

This was confusing the hell out of me while investigating #9171. "But the decorators transform runs first, this should be fine" I thought. But no... Because Decorator::enter_statement is running as part of exit_statement!

Rename enter_statement to exit_statement to clear up this confusion.

@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 Mar 21, 2025
Copy link
Member Author

overlookmotel commented Mar 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.

@overlookmotel overlookmotel marked this pull request as ready for review March 21, 2025 11:30
@overlookmotel overlookmotel requested a review from Dunqing as a code owner March 21, 2025 11:30
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 21, 2025

CodSpeed Instrumentation Performance Report

Merging #9950 will not alter performance

Comparing 03-21-refactor_transformer_decorator_rename_enter_statement_to_exit_statement_ (ffd4d13) with main (ede46aa)

Summary

✅ 33 untouched benchmarks

@graphite-app
Copy link
Contributor

graphite-app bot commented Mar 21, 2025

Merge activity

…atement` (#9950)

This was confusing the hell out of me while investigating #9171. "But the decorators transform runs first, this should be fine" I thought. But no... Because `Decorator::enter_statement` is running as part of `exit_statement`!

Rename `enter_statement` to `exit_statement` to clear up this confusion.
@graphite-app graphite-app bot force-pushed the 03-21-refactor_transformer_decorator_rename_enter_statement_to_exit_statement_ branch from 0fe2d0c to ffd4d13 Compare March 21, 2025 14:08
@graphite-app graphite-app bot merged commit ffd4d13 into main Mar 21, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 03-21-refactor_transformer_decorator_rename_enter_statement_to_exit_statement_ branch March 21, 2025 14:14
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Mar 21, 2025
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.

2 participants