Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation request does not work for ClassDeclarations #844

Closed
mrennie opened this issue Nov 3, 2016 · 0 comments
Closed

documentation request does not work for ClassDeclarations #844

mrennie opened this issue Nov 3, 2016 · 0 comments

Comments

@mrennie
Copy link
Contributor

mrennie commented Nov 3, 2016

Consider the following snippet:

/**
 * @description This is a class decl that I figured I should talk about
 * @name MyClass
 * @since 1.0
 */
class MyClass {
	constructor() {}
}
export default MyClass;
export let instance = new MyClass();

If you issue a documentation request with the position in any of the 'MyClass' identifiers, no documentation is returned.

Related Orion bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=507000

mrennie pushed a commit to mrennie/tern that referenced this issue Nov 3, 2016
Signed-off-by: Mike Rennie <mike_rennie@shaw.ca>
@marijnh marijnh closed this as completed in faa83d4 Nov 3, 2016
marijnh pushed a commit that referenced this issue Nov 3, 2016
Signed-off-by: Mike Rennie <mike_rennie@shaw.ca>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant