Skip to content

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Jul 7, 2020

This is only important right now for marking uses of deprecated tags due to the way that deprecated type references are computed. But I'm surprised it hasn't caused problems elsewhere.

Fixes #39466

This is only important right now for marking uses of deprecated tags due
to the way that deprecated type references are computed. But I'm
surprised it hasn't caused problems elsewhere.

Fixes #39466
@sandersn
Copy link
Member Author

sandersn commented Jul 7, 2020

@Kingwl you might also be interested in this, although the bug was in code that I wrote. =)

Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This includes @callback and @enum, right? Can we add tests for those?

@sandersn
Copy link
Member Author

sandersn commented Jul 7, 2020

should include: Yes. does include: No. I'll fix that and add tests.

Requires making name lookup in isTypeDeclarationName smarter, but this
is only used by services, so shouldn't be too performance sensitive.
@sandersn sandersn merged commit 1814e2a into master Jul 7, 2020
@sandersn sandersn deleted the mark-typedef-as-type-declaration branch July 7, 2020 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All uses of @typedef-defined types are marked deprecated
3 participants