Error with fill/colorMode combo
Open
bug
pjs
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
`colorMode(HSB, 360);
fill(-1, -1, -1);`
gets:
"Cannot read property '0' of undefined"
Maybe we can have PJS throw a nicer error than that or not have an error, depending on what the issue is with that code (haven't investigated yet).
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the colorMode(HSB, 360) and fill(-1, -1, -1) snippet in the live editor, then trace how these calls are handled. The issue names no files or tests, so first locate the relevant colorMode and fill entry points. Done means either preventing the failure or replacing it with a clear, intentional error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100