dart-sdk/pkg/dart2wasm
Aske Simon Christensen bde8430b97 [dart2wasm] Initial async/await support based on Promise integration
This implementation has a number of limitations:

- Returning a Future from an async function is not supported.
- Every async call switches to a new stack. A later optimization will
  stay on the same stack if the call is directly awaited.
- Exceptions that cross async boundaries do not receive full stack
  traces including the async suspension points. The stack trace of the
  final exception just reflects the stack trace for the outermost
  async call.

Change-Id: I2a5d5e30d6e955999ba55842c8b2ca3427cbf954
Cq-Include-Trybots: luci.dart.try:dart2wasm-linux-x64-d8-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/241010
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2022-08-19 07:11:18 +00:00
..
bin [dart2wasm] Initial async/await support based on Promise integration 2022-08-19 07:11:18 +00:00
lib [dart2wasm] Initial async/await support based on Promise integration 2022-08-19 07:11:18 +00:00
analysis_options.yaml [pkg/dart2wasm] use package:lints for analysis 2022-07-07 00:16:01 +00:00
dart2wasm.md [dart2wasm] Initial async/await support based on Promise integration 2022-08-19 07:11:18 +00:00
OWNERS OWNERS files for dart2wasm 2022-02-17 09:26:23 +00:00
pubspec.yaml [dart2wasm] Switch to package args for command line parsing. 2022-07-25 02:24:58 +00:00