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

fix: @name tag disconnects comment #897

Merged
merged 1 commit into from
Sep 4, 2017

Conversation

rhendric
Copy link
Contributor

@rhendric rhendric commented Sep 4, 2017

The previous support for @name tags suppressing inference from surrounding code was ad-hoc and incomplete. This commit makes a @name tag (or a tag acting as a @kind/@name shorthand combo, like @function) detach the ast field from the comment context, so that the surrounding code will be universally ignored per the JSDoc spec.

Close #896

The previous support for @name tags suppressing inference from
surrounding code was ad-hoc and incomplete. This commit makes a @name
tag (or a tag acting as a @kind/@name shorthand combo, like @function)
detach the `ast` field from the comment context, so that the surrounding
code will be universally ignored per the JSDoc spec.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 78.023% when pulling 12ae0b4 on rhendric:fix/name-tag into 2df7d3e on documentationjs:master.

@tmcw tmcw merged commit a04b6fd into documentationjs:master Sep 4, 2017
@rhendric rhendric deleted the fix/name-tag branch September 4, 2017 18:12
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

Successfully merging this pull request may close these issues.

None yet

3 participants