Open willeastcott opened 5 years ago
Look like this is because the move
function is not marked private by jsdoc so we try to document it. When we try to lookup where it belongs we fail to find the Dog
class because it is private.
The implementation should probably still track private objects so we can tell the difference between an unknown symbol and an existing, but private, symbol. In the later case we can skip the move/bark functions and not output the warning.
This issue is fixed now by merged PR #126 in latest release
It looks like #126 did not fix this; at the very least, there should be a test case for this specific problem (@private
class, with a @memberof
tag on a prototype function) and the tests added for that PR definitely do not include one.
The following JavaScript:
...generates this message:
This bug is currently afflicting the PlayCanvas engine. See forum post.