Skip to content

Adapt sdk-test dependency overrides for non-nullable analyzer #2503

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
Feb 4, 2021

Conversation

jcollins-g
Copy link
Contributor

Deals with #2500 until the new analyzer is published, at least.

@google-cla google-cla bot added the cla: yes Google CLA check succeeded. label Feb 2, 2021
@jcollins-g jcollins-g requested a review from srawlins February 2, 2021 23:15
@parlough
Copy link
Member

parlough commented Feb 2, 2021

Could we instead just expand the normal dependency constraints?

@jcollins-g
Copy link
Contributor Author

Could we instead just expand the normal dependency constraints?

No. I actually started down that road earlier -- it turns out that several of the intermediate packages dartdoc depends on have constraints of their own. For now, it seems best to submit this, then work on fixing those other packages so we can expand our constraints successfully.

Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Looks good to me

@coveralls
Copy link

Coverage Status

Coverage remained the same at 91.611% when pulling e1bd212 on jcollins-g:nnbd-non-migration-second into 2e3f4bf on dart-lang:master.

@@ -598,6 +605,7 @@ Future<void> startTestPackageDocsServer() async {
log('launching dhttpd on port 8002 for SDK');
var launcher = SubprocessLauncher('serve-test-package-docs');
await launcher.runStreamed(sdkBin('pub'), [
'global',
Copy link
Member

Choose a reason for hiding this comment

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

clever fix

@jcollins-g jcollins-g merged commit 08ee5e9 into dart-lang:master Feb 4, 2021
@jcollins-g jcollins-g deleted the nnbd-non-migration-second branch February 4, 2021 17:27
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.

4 participants