Skip to content

fix(ssr): handle class declaration and expression name scoping - #16569

Merged
sapphi-red merged 1 commit into
mainfrom
fix-class-expression-ssr
May 1, 2024
Merged

fix(ssr): handle class declaration and expression name scoping#16569
sapphi-red merged 1 commit into
mainfrom
fix-class-expression-ssr

Conversation

@bluwy

@bluwy bluwy commented May 1, 2024

Copy link
Copy Markdown
Member

Description

As suggested by sapphi at #16563 (review), we also need to handle ClassDeclaration and ClassExpression name scoping for the SSR transform so it properly shadows the import names.

Added a few unit tests to ensure it.

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.

3 participants