mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
![]() The associated `unawaited_futures` lint triggers for expressions of type `Future?` as well, so we should allow the workaround to handle such expressions. This change makes a static function more permissive, and is not expected to be breaking in any way. (It does mean that you need Dart 2.15.0 to use the function with nullable arguments. I've changed the annotation to say `@Since("2.15")`. That means anyone using a 2.15 SDK should assume that they need a 2.15 SDK to use it, and someone using a 2.14 SDK will not see the argument as nullable. If anyone uses `@Since` annotations for anything at all.) Change-Id: Ib2da4b353104cc88a834208a6ebd788ae55b4544 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214406 Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> |
||
---|---|---|
.. | ||
analyzer | ||
async | ||
collection | ||
convert | ||
developer | ||
html | ||
isolate | ||
js | ||
math | ||
mirrors | ||
typed_data | ||
wasm | ||
web | ||
lib_2.status | ||
lib_2_app_jit.status | ||
lib_2_dart2js.status | ||
lib_2_dartdevc.status | ||
lib_2_kernel.status | ||
lib_2_precompiled.status | ||
lib_2_vm.status |