documentationjs / documentationjs/documentation

Infer membership is broken with @name/alias

Open
#530 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
5.8k
Forks
481
PR merge metrics
No merged PRs in 30d

Description

``` js
/** @name C2 */
class C {
/** */
method() {}
}
```

The path for method ends up using `C` as the name because that is what is used in the ast.

We should get the name from the comment but I'm not sure how to get the comment from the ast node? @tmcw Is there a mapping?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.