-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed transformation due to bad scope analysis for catch blocks #11806
Labels
Comments
sapphi-red
added
p3-minor-bug
An edge case that only affects very specific usage (priority)
feat: ssr
labels
Jan 24, 2023
sapphi-red
added
p2-edge-case
Bug, but has workaround or limited in scope (priority)
and removed
p3-minor-bug
An edge case that only affects very specific usage (priority)
labels
Jan 24, 2023
Turns out it's not related to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Ben has described the issue here, #10289, not sure if it's a regression or a case was missed then, but I ran into it again today when the shadowing variable name was inside a catch block
Reproduction
https://github.com/gtm-nayan/vite-import-transformation-bug
Steps to reproduce
Clone the repo
pnpm i && pnpm dev
Failed transformation may be easier to see if you pause on the debugger
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: