dart-sdk/sdk/lib
Nicholas Shahan 0b3533aa95 [ddc] Fix unsound await expressions
Some expressions have a static type that can lead to a possible
soundness issue when awaited. For those expressions an additional
runtime check is performed.

Issue: https://github.com/dart-lang/sdk/issues/49396
Fixes: https://github.com/dart-lang/sdk/issues/50602
Change-Id: Ief25fbe8c38330cca0c17be4d411780a20ab87a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274729
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2022-12-12 19:43:55 +00:00
..
_http Fix grammar 2022-11-21 20:07:29 +00:00
_internal [ddc] Fix unsound await expressions 2022-12-12 19:43:55 +00:00
async More consistently use parent in zone.fork doc 2022-12-12 18:13:53 +00:00
cli Add library doc comment to dart:cli 2021-10-28 10:23:50 +00:00
collection Deprecate checkValidIndex and avoid using it in the core library. 2022-11-08 19:02:35 +00:00
convert Make LineSplitter.split not use sync*. 2022-11-18 15:34:22 +00:00
core [3.0 alpha] Remove deprecated dart:core apis 2022-12-12 11:46:58 +00:00
developer Revert "[ VM Service / DDS ] Add custom service stream support" 2022-12-12 11:24:37 +00:00
ffi [vm/ffi] added docs regarding isLeaf parameter in ffi 2022-11-10 17:49:45 +00:00
html [3.0 alpha] Remove dart:html's deprecated document.registerElement & registerElement2 APIs 2022-12-09 16:02:02 +00:00
indexed_db/dart2js dart:indexed_db: deprecate IdbFactory.supportsDatabaseNames 2022-01-03 23:45:15 +00:00
internal Deprecate checkValidIndex and avoid using it in the core library. 2022-11-08 19:02:35 +00:00
io Use async/await for readAsString 2022-12-07 20:39:15 +00:00
isolate [vm] Stricter checks when sending isolate messages between groups. 2022-10-28 19:18:51 +00:00
js [pkg:js] Add @JSExport annotation 2022-10-24 17:37:09 +00:00
js_util [pkg:js] Add documentation for @staticInterop, @JSExport, and export APIs 2022-10-26 16:34:38 +00:00
math docs(point): fix typo in subtraction example 2022-11-08 09:27:50 +00:00
mirrors [3.0 alpha] Move AbstractClassInstantiationError to dart:mirrors 2022-12-09 12:53:28 +00:00
svg/dart2js Deprecate checkValidIndex and avoid using it in the core library. 2022-11-08 19:02:35 +00:00
typed_data [vm] Recognize unmodifiable typed data views. 2022-08-11 18:10:48 +00:00
vmservice Clean up VM core libraries by removing dynamic invocations. 2022-10-17 21:22:50 +00:00
wasm Fix typo in wasm_types.dart 2022-11-28 09:29:36 +00:00
web_audio/dart2js [dart:html] Change AudioNode.connect to be nullable 2022-03-17 00:28:05 +00:00
web_gl/dart2js [dart:html] Make Native web classes extend JavaScriptObject 2021-12-10 18:36:00 +00:00
web_sql/dart2js Deprecate checkValidIndex and avoid using it in the core library. 2022-11-08 19:02:35 +00:00
libraries.json [dart2js] loadLibrary priority annotation 2022-11-18 19:22:29 +00:00
libraries.yaml [dart2js] loadLibrary priority annotation 2022-11-18 19:22:29 +00:00
PRESUBMIT.py [sdk/lib] Better presubmit check for libraries.{json,yaml} 2022-01-10 08:26:20 +00:00
vmservice_libraries.json [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
vmservice_libraries.yaml update the tooling to generate libraries.json from libraries.yaml 2021-07-27 23:02:50 +00:00