mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 12:48:10 +00:00
1f6d4ae1a8
Adds @ObjectLiteral annotation to denote object literal constructors, and implements it in all the backends. For dart2js, this involves modifying the SSA and for dart2wasm, we create a one-per-shape forwarding procedure to a specialized JS method that returns the literal. This also modifies @anonymous semantics in dart2wasm to be consistent with the other backends. CoreLibraryReviewExempt: Backend-specific, just adding annotation. Change-Id: I4d7a9ea9ed097f4f378709b40f8bd74f02e26b23 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283922 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Joshua Litt <joshualitt@google.com> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
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.