BBTree 'count' property overrides 'count' method
Open
- Dominant language
- JavaScript
- Stars
- 539
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/josephg/Chipmunk-js/blob/master/lib/cpBBTree.js#L33
this.count = 0;
https://github.com/josephg/Chipmunk-js/blob/master/lib/cpBBTree.js#L617
BBTree.prototype.count = function()
I'm sure it can't be both.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in lib/cpBBTree.js at the this.count assignment around line 33 and BBTree.prototype.count around line 617. Check how count is used elsewhere in the repository, then ensure the BBTree count state and callable API no longer conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100