-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Bug]: using in switch is not compiled #16422
Copy link
Copy link
Closed
Labels
Spec: Explicit Resource ManagementoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
💻
- Would you like to work on a fix?
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
{
switch (1) {
case 1:
using a = 1;
case 2:
using b = 2;
}
using c = 4;
}Configuration file name
No response
Configuration
No response
Current and expected behavior
using is not transpiled, but it shuold
Environment
v7.24.4
Possible solution
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Spec: Explicit Resource ManagementoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue