Skip to content

Improve scoping interaction with canonicalization, inheritance, and reexports #2699

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 14 commits into from
Jun 22, 2021

Conversation

jcollins-g
Copy link
Contributor

@jcollins-g jcollins-g commented Jun 22, 2021

This is a set of related changes around handling inheritance and export namespaces to make the new lookup code conform more to what the old code used to do. A number of bugs are referenced, including #2698, #2696, and #2693 as we're now treating these quirks of the old code as bugs, but trying to remain compatible for now.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Jun 22, 2021
@jcollins-g jcollins-g requested a review from srawlins June 22, 2021 20:47
Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

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

So many new tests!

Looks great

Iterable<Library> get referenceGrandparentOverrides sync* {
// TODO(jcollins-g): split Field documentation up between accessors
// and resolve the pieces with different scopes. dart-lang/dartdoc#2693.
//assert(documentationFrom.length == 1);
Copy link
Member

Choose a reason for hiding this comment

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

Remove commented assert?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@jcollins-g jcollins-g merged commit f7dd024 into dart-lang:master Jun 22, 2021
@jcollins-g jcollins-g deleted the canonical-scoping branch June 22, 2021 22:47
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.

2 participants