babel / babel/babel-polyfills

Some cases of shadowing are not resolved properly

Open
#259 0 comments 0 reactions 0 assignees View on GitHub
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);
}
```

Image

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.