You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
Expressions in
left
ofAssignExpr
arePatOrExpr::Pat(Pat::Expr(_))
instead ofPatOrExpr::Expr(_)
, but this looks inconsistent with documentation.swc/crates/swc_ecma_ast/src/pat.rs
Lines 34 to 36 in 7327f25
I'm not sure if it's the documentation or the implementation that might be incorrect, or if I might have misunderstood something.
Input code
Config
No response
Playground link (or link to the minimal reproduction)
https://github.com/shqld/repro/tree/swc/8376
SWC Info output
No response
Expected behavior
Either documentation or implementation is corrected.
Actual behavior
No response
Version
swc_ecma_ast = "0.110.12", swc_ecma_parser = "0.141.30"
Additional context
No response
The text was updated successfully, but these errors were encountered: