Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hayes
Copy link

@hayes hayes commented Sep 12, 2025

Include FunctionField::Params in the AST traversal check to correctly identify when this appears within a function's scope. Previously only checked FunctionField::Body, missing this usage in default parameters.

Fixes #83739

@ijjk ijjk added the Turbopack Related to Turbopack with Next.js. label Sep 12, 2025
Include FunctionField::Params in the AST traversal check to correctly
identify when `this` appears within a function's scope. Previously only
checked FunctionField::Body, missing `this` usage in default parameters.

Fixes vercel#83739
Copy link

codspeed-hq bot commented Sep 12, 2025

CodSpeed Performance Report

Merging #83746 will create unknown performance changes

Comparing hayes:canary (4a976de) with canary (bc84caf)

Summary

⏩ 9 skipped1

Footnotes

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

@hayes
Copy link
Author

hayes commented Sep 18, 2025

@mischnic would you be able to take a look at this, hopefully this is a fairly trivial PR to get reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

turbopack incorrectly handles this in default parameters
2 participants