mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 08:31:29 +00:00
bdbd3c0602
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> |
||
---|---|---|
.. | ||
_http | ||
_internal | ||
async | ||
cli | ||
collection | ||
convert | ||
core | ||
developer | ||
ffi | ||
html | ||
indexed_db/dart2js | ||
internal | ||
io | ||
isolate | ||
js | ||
js_util | ||
math | ||
mirrors | ||
svg/dart2js | ||
typed_data | ||
vmservice | ||
web_audio/dart2js | ||
web_gl/dart2js | ||
web_sql/dart2js | ||
libraries.json | ||
libraries.yaml | ||
vmservice_libraries.json | ||
vmservice_libraries.yaml |