Skip to content
Snippets Groups Projects
user avatar
Dan Field authored
Flutter pins package dependencies, including all transitive dependencies.

Because test_api depends on pedantic, Flutter pins that dependency.

However, pedantic is only depended on for the `unawaited` function, which is a one-line piece of code.

This will enable resolution of https://github.com/flutter/flutter/issues/48246 without requiring Flutter to unpin its dependencies, and with a very small overhead on test_api to not re-import pedantic :)  This helps downstream consumers who want to depend on the package for the actual analysis options files.

Also related: https://github.com/dart-lang/pedantic/issues/46
eb8aa6b5
Name Last commit Last update