Skip to content

Pub dry run meta package issue on Flutter #32418

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

Closed
lukef opened this issue Mar 5, 2018 · 2 comments
Closed

Pub dry run meta package issue on Flutter #32418

lukef opened this issue Mar 5, 2018 · 2 comments

Comments

@lukef
Copy link

lukef commented Mar 5, 2018

Dart VM version: 2.0.0-dev.30.0 (Thu Feb 22 14:08:47 2018 +0100) on "macos_x64"
Flutter: master

If you use the @required annotation and combine it with import 'package:meta/meta.dart'; then pub publish --dry-run will report that the meta package is not used. If it is replaced with import 'package:flutter/foundation.dart'; then the problem goes away.

@anders-sandholm
Copy link
Contributor

This issue was moved to dart-lang/pub#1830

@lukef
Copy link
Author

lukef commented Mar 19, 2018

Thanks! Will log pub issues correctly next time :)

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

2 participants