Skip to content

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

Closed
@egamma

Description

@egamma

From @alexandrudima on January 27, 2016 11:1

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()

Copied from original issue: microsoft/vscode#2436

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions