mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
This is to fix the cases mentioned in the comment section of #5365. In short, it will report these as PASS test cases: ```js let inner; function foo1() { inner = function() {} } function foo2() { inner = function() {} } ``` ```js let inner; function outer() { inner = function() {} } ``` And report these below as FAIL test cases: ```js let inner; function foo1() { inner = function smth() {} } function foo2() { inner = function bar() {} } ``` ```js let inner; function outer() { inner = function inner() {} } ``` The case below was already done in #5312 but mentioned in #5365. It is a FAIL case as well: ```js function outer() { const inner = function inner() {} } ``` --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Don Isaac <donald.isaac@gmail.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| fixtures | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| CHANGELOG.md | ||