mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
c9c971a792
**Description:** add DefaultDecl's FnExpr and ClassExpr's ident to bindings. because all of them should be treated as hoisted Fn/Class Declare ```txt × the name `x` is defined multiple times ╭─[examples/all.js:1:1] 1 │ export default class x{} · ┬ · ╰── previous definition of `x` here 2 │ 3 │ let x = 1; · ┬ · ╰── `x` redefined here 4 │ let t = function x(){}; ╰──── ``` **Related issue:** - Closes #8755 |
||
---|---|---|
.. | ||
export | ||
issue-3193/1 | ||
issue-3266/1 | ||
issue-3848/1 | ||
issue-3852/1 | ||
issue-3929/1 | ||
issue-3956/1 | ||
issue-4148/1 | ||
issue-4907 | ||
issue-5115/1 | ||
no-dupe-args/valid | ||
vercel/1 |