You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classfoo{/** * My doc */
#bar=[];/** * My other doc. * @param {array} values */setbar(values){this.#bar=values;}
sphinx-js fails with:
sphinx_js.suffix_tree.PathsTaken: Your code contains multiple documented objects at each of these paths:
./myfile.foo#bar
We won't know which one you're talking about.
If I change the name of the setter or the private variable, then sphinx-js works.
The text was updated successfully, but these errors were encountered:
Standard8
changed the title
Private class properties with the same name as public properties fail to be handled
Private class properties with the same name as public properties fail to be handled when both have jsdoc
Oct 10, 2024
With this code:
sphinx-js fails with:
If I change the name of the setter or the private variable, then sphinx-js works.
The text was updated successfully, but these errors were encountered: