Open myphysicslab opened 9 years ago
@myphysicslab You have done an excellent job of stress-testing JSDoc's inheritance-related code. :)
I'll see whether another Band-Aid and a fresh piece of chewing gum can keep this thing flying.
I don't see a clean way to hack around this bug for JSDoc 3.3.0. Furthermore, the code in jsdoc/augment
has already turned into a real mess. I think I'll need to rewrite a large portion of the code for JSDoc 3.4.0, with an eye towards fixing this bug and preventing similar bugs.
The situation is: class D extends class C which implements interface B which extends interface A. The documentation for the method defined on interface A appears in docs for A, B, C, but not in D. (The method appears but without return type or description).
In the following example: SampleSubject extends AbstractSubject which implements Subject interface which extends Printable interface. The problem is the toStringShort method in SampleSubject is lacking documentation. The resulting documentation can be seen at: http://www.myphysicslab.com/rmnp/test20150206/out/index.html Below is the code for this example. Also available at http://www.myphysicslab.com/rmnp/test20150206/test20150206.js Using JSDoc 3.4.0-dev (Thu, 22 Jan 2015 23:02:06 GMT)