Skip to content

Salsa does not show doc comment when I have "@returns" in it? #2436

@alexdima

Description

@alexdima

Testing #2218

For the following JS code I get no hover on a1():

/**
 * This is a very cool function that is very nice.
 * @returns something
 */
function a1() {
        try {
                        throw new Error('x');         } catch(x) { x--; }
                        return 23;
}

x - a1()

If I remove the @returns from the js doc comment, then I get a hover, i.e. it works for this:

/**
 * This is a very cool function that is very nice.
 */
function a1() {
        try {
                        throw new Error('x');         } catch(x) { x--; }
                        return 23;
}

x - a1()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions