Skip to content

Implement basic handling for extensions on special types #2112

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

Merged
merged 11 commits into from
Jan 8, 2020

Conversation

jcollins-g
Copy link
Contributor

Fixes #2102.

This eliminates a crash when extensions are defined on dynamic or void, and will hide extensions on all objects from showing up in the "Applicable Extensions" list. This also moves subtype checks to DefinedElementType which is a better place than the Extension class.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Jan 6, 2020
@coveralls
Copy link

coveralls commented Jan 6, 2020

Coverage Status

Coverage increased (+0.008%) to 93.892% when pulling 65a5fac on ftic+undefined-crash into fc3fe59 on master.

@jcollins-g jcollins-g merged commit 5cefeae into master Jan 8, 2020
@jcollins-g jcollins-g deleted the ftic+undefined-crash branch January 8, 2020 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dartdoc failed: type 'UndefinedElementType' is not a subtype of type 'DefinedElementType'
4 participants