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 8f40df5a30992a6e5db3be9bb3cca8d6a5c65fe9..09a50ab49c630bdff439e967bfa84324cc3207c4 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.map((string) => new SourceString(string)); |
+ nmSorted.mappedBy((string) => new SourceString(string)); |
return new Link<SourceString>.fromList(nmSourceStrings); |
} |