josephg / josephg/Chipmunk-js

BBTree 'count' property overrides 'count' method

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.