Skip to content

Fix parameter and type issues with head analyzer #2687

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 8 commits into from
Jun 18, 2021

Conversation

jcollins-g
Copy link
Contributor

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

More changes to head analyzer:

  • An apparent bugfix in head analyzer threw some of the text matching tests, these are fixed/worked around
  • Change types of modelType to adapt to new underlying type changes in analyzer
  • work around an apparent mustachio problem where we aren't recognizing mixin inheritance?
  • reintroduce expectLater

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Jun 18, 2021
@jcollins-g jcollins-g requested review from srawlins and removed request for srawlins June 18, 2021 17:17
@jcollins-g
Copy link
Contributor Author

withdrawing for now, looks to have been triggered by a more extensive change

@coveralls
Copy link

coveralls commented Jun 18, 2021

Coverage Status

Coverage increased (+0.3%) to 58.064% when pulling 8f1d197 on jcollins-g:fix-params-sdk-error into 451c82d on dart-lang:master.

@jcollins-g jcollins-g changed the title Reduce scope of parameter nullability test to just the nullability Fix parameter and type issues with head analyzer Jun 18, 2021
@jcollins-g jcollins-g requested a review from srawlins June 18, 2021 20:03
@jcollins-g jcollins-g merged commit dedab6e into dart-lang:master Jun 18, 2021
@jcollins-g jcollins-g deleted the fix-params-sdk-error branch June 18, 2021 21:51
dart-bot pushed a commit to dart-lang/sdk that referenced this pull request Jun 18, 2021
This reverts commit fa303eb.

Reason for revert: This breaks dartdoc until dart-lang/dartdoc#2687 can roll to analyzer.

Original change's description:
> Keep libraries after linking, don't reload from bytes.
>
> Presubmit in google3 looks green.
> https://test.corp.google.com/ui#id=OCL:376412203:BASE:379875911:1623903883365:2a59d852
>
> Change-Id: I344d49fa12e2f07aa00623ea08e7530872ca2eec
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/201661
> Reviewed-by: Samuel Rawlins <srawlins@google.com>
> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I6eeee8b6f480a6ac5c2665e5844f04788c1174a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204263
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
dart-bot pushed a commit to dart-lang/sdk that referenced this pull request Jun 21, 2021
This used to be the case when we read element model from bytes.
But we started (accidentally) providing it when keeping linking elements.
This caused https://dart-review.googlesource.com/c/sdk/+/201661 to be
reverted.

There is a work around in dartdoc, to be pulled into SDK.
dart-lang/dartdoc#2687

This CL hopefully fixes the issue.

Change-Id: Ib1a952085a80c4673baab01a6c4e4a30c1a8ea73
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204360
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
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