-
Notifications
You must be signed in to change notification settings - Fork 219
'unawaited' is imported from both 'package:meta/meta.dart' and 'package:test_api/src/utils.dart' #1294
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
Comments
This should be fixed with a See #1292 |
I can't get |
I was able to get our builds working again by following the suggestion here: dart-lang/build#2745 (comment) However I still can't get the builds to work without that workaround. |
In the short term I'd recommend pinning to an older dev_dependencies:
meta: 1.1.8 |
@vsmenon - can you help us understand how we should prioritize this issue. background - Current angular has a constraint on analyzer at The current So there are three paths forward I think:
|
Talked to @vsmenon – we agreed that telling folks to pin We also agreed to we need to find a way to validate "the ecosystem" when we roll these types of changes to heavily used packages |
If I understand this correctly, it buys us time until we publish angular again, at which point users don't need to pin?
Yes. If we had something akin to the Flutter HHH bot for AngularDart, would that have caught this? fyi - @sigmundch |
At the time we publish angular there will be breaking changes. Users who upgrade to the new angular won't need to pin |
Just want to say, for what it's worth, that this is not only a problem with For whatever reason, Google didn't direct me here when I was searching for the exact error. Not sure why, since it's quoted in the @cooler-king's OP. Pasting it in here just to give the search engine another hint: Error: 'unawaited' is imported from both 'package:meta/meta.dart' and 'package:test_api/src/utils.dart'. |
This addresses dart-lang/test#1294 by pinning `meta` to `1.1.8`.
Adding a top-level declaration is well within the bounds of what we consider non-breaking. It only warrants a minor version increment. It can break code, but any change can break code. Running For an added top-level declaration conflicting with an existing one, the workaround is to Is there something about |
Note that the change here is being reverted due to it being much more breaking than anticipated. The release of these packages was built on an assumption that the vast majority users would get all updated packages at the same time. This ended up meaning 3 different packages (meta, pedantic, test_core). This ended up not being the case for a large number of users - and would cause further issues if not rolled back once flutter pinned the new Some of the breaking cases are:
|
The revert has now happened, I am going to close this issue. If anybody is still seeing problems please bring them up though. |
The text was updated successfully, but these errors were encountered: