dart-sdk/tests/modular
Srujan Gaddam 758cb462f5 [pkg:js] Erase static interop types
Closes https://github.com/dart-lang/sdk/issues/47324

Erases static interop class types in favor of `BaseJavaScriptObject`.
Types are erased everywhere except for constructors, whose invocations
are instead wrapped with a cast. Constructor type erasure is avoided
to ensure the AST is still type-valid. Factories with bodies have
static stubs added instead, and tests are added for this change.

Change-Id: I7231aaaf32d22bc6261adb672a602e8a9e6c86a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/215948
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Riley Porter <rileyporter@google.com>
2021-12-10 18:36:00 +00:00
..
constant_with_mixin [cfe] Ensure that default values on synthesized constructor are included in outlines 2020-09-29 11:09:14 +00:00
constants_2018 Remove constant-update-2018 flag from tests. 2019-08-22 11:00:54 +00:00
cross_module_constant_with_mixin [modular] Create repro of issue building full dills from summaries. 2021-12-10 17:00:00 +00:00
diamond (ddk modular test) exclude sources from dill files. 2019-10-02 22:22:11 +00:00
extension_methods [dart2js] Fix bug in modular_test_suite. 2020-05-28 21:30:36 +00:00
int_js_number Remove constant-update-2018 flag from tests. 2019-08-22 11:00:54 +00:00
issue37794 Remove constant-update-2018 flag from tests. 2019-08-22 11:00:54 +00:00
issue38703 [dartdevc] Canonicalizing partial instantiation constants 2019-10-03 20:45:13 +00:00
js_interop
mixin_super [dart2js] Handle super access in mixin declarations 2021-01-07 13:45:18 +00:00
nested_constants Remove constant-update-2018 flag from tests. 2019-08-22 11:00:54 +00:00
package_imports [CFE] Use package config v2 2020-02-12 10:07:25 +00:00
private_class_exposed_by_typedef [ddc] Fix private class exposed by typedef 2021-04-05 18:54:56 +00:00
static_interop_erasure [pkg:js] Erase static interop types 2021-12-10 18:36:00 +00:00
subclass [ddc] Run modular test suite in weak mode 2020-04-08 18:25:14 +00:00