refactor(es/ast)!: Add body_ctxt to Switch - #12065
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df6e27aa1b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
Merging this PR will not alter performance
Comparing Footnotes
|
| #[cfg_attr(feature = "shrink-to-fit", derive(shrink_to_fit::ShrinkToFit))] | ||
| pub struct SwitchStmt { | ||
| pub span: Span, | ||
| pub body_ctxt: SyntaxContext, |
There was a problem hiding this comment.
This is an Wasm-breaking change, so I'll merge this along with different Wasm breaking PRs
There was a problem hiding this comment.
body_ctxt to Switchbody_ctxt to Switch
Description:
This shouldn't change anything but downstream user.
BREAKING CHANGE:
Related issue (if exists):