-
Notifications
You must be signed in to change notification settings - Fork 710
Description
Reproduction link or steps
What is expected?
Foo・Bar should be wrapped in quotes, I guess.
What is actually happening?
const e={Foo・Bar:`Baz`};export{e as foo};
$ node
Welcome to Node.js v22.17.1.
Type ".help" for more information.
> const e={Foo・Bar:`Baz`};export{e as foo};
const e={Foo・Bar:`Baz`};export{e as foo};
^^^^^^
Uncaught SyntaxError: Unexpected token 'export'
>
System Info
$ npx envinfo --system --npmPackages rolldown --binaries --browsers
System:
OS: macOS 15.6
CPU: (12) arm64 Apple M3 Pro
Memory: 2.31 GB / 36.00 GB
Shell: 5.2.37 - /opt/homebrew/bin/bash
Binaries:
Node: 22.17.1 - ~/.local/bin/node
Yarn: 4.9.2 - ~/.local/bin/yarn
npm: 11.4.2 - ~/.local/bin/npm
bun: 1.2.17 - /opt/homebrew/bin/bun
Browsers:
Chrome: 138.0.7204.184
Edge: 132.0.2957.127
Safari: 18.6Any additional comments?
Dunno why envinfo doesn't show the rolldown version, but I tried with both beta.20 and beta.31, same issue.
Reactions are currently unavailable