-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bundler issue with the logical nullish assignment (x ??= y) operator #8627
Comments
@kitsonk This seems like a bug of |
Ah.. I found the root cause. I'll transform it from |
@kdy1 no it is Stage 4 proposal for ECMAScript: https://github.com/tc39/proposal-logical-assignment. It is valid JavaScript in most greenfield browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_nullish_assignment |
Oh, thanks! I didn't know it. Then I'll simply allow |
It is also |
swc_bundler: - Handle indirect wrapped es modules. (denoland/deno#8597, denoland/deno#8625) - Respect `export { foo }`. (denoland/deno#8626) swc_ecma_parser: - Allow `??=`, `||=`, `??=` in non-ts modules. (denoland/deno#8627) swc_ecma_transforms: - Make `hygiene` check if a variable with expanded name exists. (denoland/deno#8620) - Handle `??=` correctly.
Fixed in |
Deno version 1.5.4
cc @kdy1
The text was updated successfully, but these errors were encountered: