dart-sdk/tests
Aske Simon Christensen bc31fe4903 [dart2wasm] Enable values to be returned from void functions.
Since Dart `void` can actually carry values, functions with `void`
return type are translated into Wasm functions returning the Dart
object top type instead of an empty output type list.

Only constructors, setters and imports/exports with void return type
are now given empty output type lists in their Wasm signatures. A new
low-level `WasmVoid` type is added to the internal Wasm types for
specifying explicitly that a Wasm function should have an empty list
of outputs.

Fixes https://github.com/dart-lang/sdk/issues/50458

CoreLibraryReviewExempt: Only changes Wasm-specific libraries.
Change-Id: I9562248f94e75a60142fd1af0136183aa288b98b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279971
Reviewed-by: Ömer Ağacan <omersa@google.com>
Commit-Queue: Aske Simon Christensen <askesc@google.com>
2023-02-02 12:08:30 +00:00
..
co19 [dart2wasm] Skip VM-specific co19 Finalizer tests 2023-01-31 10:28:36 +00:00
co19_2 Spelling tests 2023-01-19 16:24:29 +00:00
corelib Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
corelib_2 Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
dartdevc Spelling 2023-01-30 18:29:59 +00:00
dartdevc_2 Spelling 2023-01-30 18:29:59 +00:00
ffi Spelling 2023-01-30 18:29:59 +00:00
ffi_2 Spelling tools 2023-01-09 15:48:57 +00:00
language [analyzer] Report errors for final class and mixin subtyping outside of its library. 2023-02-01 22:11:39 +00:00
language_2 Spelling pkg dev compiler 2023-01-26 09:12:41 +00:00
lib [dart:_js_interop] Expose a interop type for JS objects 2023-01-30 20:01:37 +00:00
lib_2 Filter trusttypes_test from being run on CSP bot 2023-01-27 03:13:07 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone [io] Fix a bug where large reads would return partial data. 2023-01-31 18:41:39 +00:00
standalone_2 [io] Fix a bug where large reads would return partial data. 2023-01-31 18:41:39 +00:00
web [dart2wasm] Enable values to be returned from void functions. 2023-02-02 12:08:30 +00:00
web_2 Spelling pkg dev compiler 2023-01-26 09:12:41 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.