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..8f40df5a30992a6e5db3be9bb3cca8d6a5c65fe9 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)); |
return new Link<SourceString>.fromList(nmSourceStrings); |
} |