Skip to content

Allow element.library to be null for dynamic #1789

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 2 commits into from
Oct 10, 2018

Conversation

jcollins-g
Copy link
Contributor

Recent change in head analyzer broke travis, here:

https://travis-ci.org/dart-lang/dartdoc/jobs/439730750#L460

DynamicElementImpl used to return dart:core as its .library, but no longer. It's not actually needed for anything in dartdoc when the element is dynamic, so the assert was overly broad here to include dynamic elements. Updated the assert.

FYI @bwilkerson

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Oct 10, 2018
@jcollins-g jcollins-g requested review from devoncarew and pq October 10, 2018 18:16
Copy link
Member

@pq pq left a comment

Choose a reason for hiding this comment

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

👍

@jcollins-g jcollins-g merged commit 51f6fd3 into master Oct 10, 2018
@jcollins-g jcollins-g deleted the dartdoc-allow-null-library-dynamic branch October 10, 2018 23:23
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.

3 participants