| Index: tests/compiler/dart2js/type_checker_test.dart
|
| diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
|
| index 09a50ab49c630bdff439e967bfa84324cc3207c4..e51a50f1424d8e7d1b7add5b079f72745bd10526 100644
|
| --- a/tests/compiler/dart2js/type_checker_test.dart
|
| +++ b/tests/compiler/dart2js/type_checker_test.dart
|
| @@ -438,7 +438,7 @@ testFunctionSubtypingNamed() {
|
| Link<SourceString> createNames(Map<String,DartType> nm) {
|
| List<String> nmSorted = new List<String>.from(nm.keys)..sort();
|
| List<SourceString> nmSourceStrings =
|
| - nmSorted.mappedBy((string) => new SourceString(string));
|
| + nmSorted.map((string) => new SourceString(string)).toList();
|
| return new Link<SourceString>.fromList(nmSourceStrings);
|
| }
|
|
|
|
|