Some cases of shadowing are not resolved properly
Open
- Dominant language
- TypeScript
- Stars
- 357
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
For example,
```js
function test(JSON) {
JSON.stringify(obj).at(-1);
}
```
Contributor guide
Research direction
Start by reproducing the JavaScript example in issue #259, then locate the shadowing-resolution entry point in the Babel polyfills repository. Trace how the parameter named JSON is handled during analysis; done means this case resolves the local binding correctly and no longer produces the reported behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100