BabyHint does not differentiate between locally defined functions and global processing-js functions
Open
BabyHint
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
Perhaps this is a mutation of issue 445? See the simple test program https://www.khanacademy.org/computer-programming/wat2/4562973953228800 that declares a function called arc inside of another function and attempts to invoke it. Yoko Oh Noes whines about Processing.js arc which is unrelated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the related issue 445 and reproducing the linked Khan Academy test program. Trace how BabyHint resolves a locally declared nested function named arc versus the global Processing.js arc. Done means the local call is no longer reported as an unrelated global-function error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100