Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Only process JSDoc-form comments #13

Open
jgiles opened this issue Jul 26, 2014 · 0 comments
Open

Only process JSDoc-form comments #13

jgiles opened this issue Jul 26, 2014 · 0 comments
Labels

Comments

@jgiles
Copy link
Contributor

jgiles commented Jul 26, 2014

The Tern comment-finding code looks for both
/** JSDoc comment form */
and
// Single line comment form

Since we assume comments without any type information are for methods without return or parameter values, this means statements like

// This is an assignment.
var a = b;

can end up with a being assigned the type fn()

@jgiles jgiles added the bug label Jul 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant