mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 08:41:10 +00:00
d9bb487ca8
This should enable strong mode tests to be fully NNBD opted in. At the same time, legacy tests when run with the experiment off should hopefully be able to still consume these libraries because they don't actually use any NNBD features. To do this, I changed the script that generates the SDK repo's package config to not put in a language version for any package whose pubspec has no SDK version. According to language versioning, that means the package should be considered to be at the "current" version of the SDK running the code. In NNBD, that's opted in. With the experiment off, that is (presumably) "opted out" in the sense that NNBD doesn't exist. In order to *not* opt in some of the other packages that currently lack SDK constraints, I put those in and pinned them to "^2.7.0" which was what the package config script used to implicitly fill in for them. I see a bunch of other changes in the generated package config too. The update script probably hasn't been run in a while. Change-Id: I55193d42eac0696a6b0105546551efa45a1f3252 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144305 Auto-Submit: Bob Nystrom <rnystrom@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com> |
||
---|---|---|
.. | ||
async_helper.dart | ||
async_minitest.dart |