5c51990a80
Closes #43174 Change-Id: I6b1cc04cbf2d65d9b877dfabf3e0f535f2491a94 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168542 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
13 lines
478 B
Plaintext
13 lines
478 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method test() → void {
|
|
core::Map<dynamic, dynamic> map = <dynamic, dynamic>{};
|
|
map.{core::Map::[]}(0).foo;
|
|
core::Iterable<core::String> elements = <core::String>[];
|
|
core::List<dynamic> list = core::List::from<dynamic>(elements);
|
|
core::List::from<dynamic>(elements).{core::Iterable::forEach}((dynamic element) → void => element.foo);
|
|
}
|
|
static method main() → dynamic {}
|