mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:32:24 +00:00
86eb49ac19
Since user @staticInterop types are erased to JavaScriptObject, they should only be able to subtype other types that are :> JavaScriptObject, which are just JSObject and JSAny. Eventually all the other JS types will move to extension types and we can remove this check. Change-Id: If56b6770e141238b583937880ca87496780c8fac Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/316865 Reviewed-by: Joshua Litt <joshualitt@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> |
||
---|---|---|
.. | ||
export | ||
extends_test | ||
js_util | ||
static_interop_test | ||
subtyping_test | ||
array_test.dart | ||
datetime_roundtrip_test.dart | ||
external_extension_members_test.dart | ||
external_nonjs_static_test.dart | ||
external_static_test.dart | ||
instanceof_test.dart | ||
is_check_and_as_cast_test.dart | ||
method_call_on_object_test.dart | ||
mock_test.dart | ||
no_library_annotation_test.dart | ||
null_test.dart | ||
operator_static_test.dart | ||
parameters_test.dart | ||
prototype_access_test.dart | ||
trust_types_annotation_test.dart | ||
trust_types_test.dart |