Skip to content
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

Add validation for SDK constraint when using Future or Stream from dart:core #1981

Closed
natebosch opened this issue Sep 13, 2018 · 1 comment
Closed

Comments

@natebosch
Copy link
Member

We won't in general add a validation for SDK constraints when using any new SDK features, but this one is particularly easy to user without realizing it and is worth a validation.

@natebosch
Copy link
Member Author

I don't think pub is where we'll put this. Analyzer has a hardcoded check for Future IIRC, and we have dart-lang/sdk#34978 filed to handle the general case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant