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