Skip to content

fix(ssr): handle function expression name scoping#16563

Merged
bluwy merged 1 commit into
mainfrom
ssr-function-expression
May 1, 2024
Merged

fix(ssr): handle function expression name scoping#16563
bluwy merged 1 commit into
mainfrom
ssr-function-expression

Conversation

@bluwy

@bluwy bluwy commented Apr 30, 2024

Copy link
Copy Markdown
Member

Description

fix #16452

Function expressions like const a = function foo() {}, where the foo could shadow the imported foo, we need to scope the foo to the function expression as it could be used by its params or body.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: ssr p3-minor-bug An edge case that only affects very specific usage (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Module transform causes errors in tests

2 participants