dart-sdk/tests
Srujan Gaddam b8402f5c27 [dart:js_interop] Make ExternalDartReference generic
Closes https://github.com/dart-lang/sdk/issues/55342
Closes https://github.com/dart-lang/sdk/issues/55536
Closes https://github.com/dart-lang/sdk/issues/56015

- Adds a type parameter T that extends Object? to
ExternalDartReference to capture the type of the value
that was externalized.
-- In the JS compilers, the representation type of
ExternalDartReference is now T.
-- In dart2wasm, the representation type is now JSValue?.
- ExternalDartReference no longer implements Object.
- Return type of toDartObject is now T.
- ObjectToExternalDartReference and
ExternalDartReferenceToObject both now are on a T that is
bound to Object?.
- Internal patches for WeakReference and Finalizer are
updated.

Change-Id: Ic2dc834b17ec6a4eb2122cba3c495a6e0a1eae6e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370663
Commit-Queue: Srujan Gaddam <srujzs@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Lasse Nielsen <lrn@google.com>
2024-06-26 21:53:53 +00:00
..
co19 [co19] Roll co19 to 0a9f7daccd0e682ab791f04ecc23f1dbcee04977 2024-06-03 09:12:56 +00:00
corelib [tests] Add int.tryParse overflow check tests 2024-06-20 18:01:57 +00:00
dartdevc Reland "Tweak expect.dart library." 2024-04-26 15:28:26 +00:00
ffi [vm] Native asset path resolution symlinks with spaces 2024-06-20 14:36:36 +00:00
hot_reload [reload_test] Adding several new reload tests. 2024-05-01 20:01:19 +00:00
language [cfe] Wildcard import prefixes are non-binding. 2024-06-24 18:08:47 +00:00
lib [dart:js_interop] Make ExternalDartReference generic 2024-06-26 21:53:53 +00:00
macro_build add package:_macros (SDK vendored) and package:macros (pub published) 2024-03-26 18:40:00 +00:00
modular Support prebuilt macros in the incremental compiler mode for DDC 2024-04-09 07:37:26 +00:00
standalone [vm/io] Follow up to c2e9cee 2024-06-20 19:55:19 +00:00
web [dart2wasm] Fix new web/wasm/allow_import_export_pragmas_test test: Add --extra-compiler-option= before the flag name 2024-06-14 10:18:23 +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 [wiki] move the https://github.com/dart-lang/sdk/wiki to the docs/ dir 2024-05-16 18:19:40 +00:00

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