Skip to content

Add jsdoc to EOF token to catch missed @typedefs#16488

Merged
sandersn merged 2 commits into
masterfrom
add-jsdoc-to-eof-token
Jun 13, 2017
Merged

Add jsdoc to EOF token to catch missed @typedefs#16488
sandersn merged 2 commits into
masterfrom
add-jsdoc-to-eof-token

Conversation

@sandersn
Copy link
Copy Markdown
Member

In JS files that consist only of @typedefs, the doc comments were not parsed because there was nothing for them to attach to. Now we call addJSDocComment on the EOF token, so they attach there.

Fixes #15901

sandersn added 2 commits June 13, 2017 10:32
Previously there was nothing for the @typedef to attach to, so the
comment was never parsed. Now these comments attach to the EOF token.
@sandersn sandersn merged commit 2495e67 into master Jun 13, 2017
@sandersn sandersn deleted the add-jsdoc-to-eof-token branch June 13, 2017 18:14
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Jun 13, 2017

Please port this to release-2.4

@sandersn
Copy link
Copy Markdown
Member Author

OK, it's in release-2.4 now.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants