Skip to content

Implement this, operator, and parameter resolution on Containers #2673

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 9 commits into from
Jun 11, 2021

Conversation

jcollins-g
Copy link
Contributor

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

As the title says. We can't directly use Scope and analyzer resolution here without some more digging into the analyzer, but we can bring the current implementation up to speed.

Link resolution equivalence moves from 98% => 99% on the SDK, 72% => 73% on Flutter. While the link resolution equivalence delta is small, the link resolution equivalence doesn't account for parameters not being found at all. That would have led to many false positives.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Jun 9, 2021
@coveralls
Copy link

coveralls commented Jun 9, 2021

Coverage Status

Coverage increased (+0.06%) to 57.625% when pulling 98430c0 on jcollins-g:lookup-prefix-impl+class-impl into 12adc15 on dart-lang:master.

@jcollins-g jcollins-g requested a review from srawlins June 10, 2021 16:30
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.

Nice. Great tests. Simple Trie.


class StringTrie {
final Map<int, StringTrie> children = {};
bool valid = false;
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind documenting this field? I think I know what it means, but maybe not in the context of a field on a whole trie.

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 48f4706 into dart-lang:master Jun 11, 2021
@jcollins-g jcollins-g deleted the lookup-prefix-impl+class-impl branch June 11, 2021 19:11
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