Can't compile "using" keyword in Turbopack Dev #73739
Labels
bug
Issue was opened via the bug report template.
Developer Experience
Issues related to Next.js logs, Error overlay, etc.
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
locked
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/inspiring-liskov-r72y29
To Reproduce
Write some code with the
using
keyword (ECMAScript Explicit Resource Management), run dev server with--turbo
optione.g.
Current vs. Expected behavior
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.0.4-canary.49 // Latest available version is detected (15.0.4-canary.49). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.3.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Developer Experience, Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
next dev --turbo
does not even transplie the syntax even withexplicit_resource_management: true
enabled in swcThe text was updated successfully, but these errors were encountered: