Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: tests/compiler/dart2js/type_checker_test.dart

Issue 12086062: Rename mappedBy to map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undo change to test-script. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/corelib/iterable_join_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tests/corelib/iterable_join_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698