mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 19:10:05 +00:00
758cb462f5
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> |
||
---|---|---|
.. | ||
constant_with_mixin | ||
constants_2018 | ||
cross_module_constant_with_mixin | ||
diamond | ||
extension_methods | ||
int_js_number | ||
issue37794 | ||
issue38703 | ||
js_interop | ||
mixin_super | ||
nested_constants | ||
package_imports | ||
private_class_exposed_by_typedef | ||
static_interop_erasure | ||
subclass |