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

Unified Diff: sdk/lib/_internal/dartdoc/lib/dartdoc.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/_internal/compiler/implementation/ssa/codegen.dart ('k') | sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
index 657670180fb303bf6f3ab0d7c1a9222b4bb39e8c..2520489dca15a220e690d97c1d6c377cfb9fe456 100644
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart
@@ -357,7 +357,7 @@ class Dartdoc {
}
startFile("apidoc.json");
- var libraries = _sortedLibraries.mappedBy(
+ var libraries = _sortedLibraries.map(
(lib) => new LibraryElement(lib.qualifiedName, lib))
.toList();
write(json_serializer.serialize(libraries));
@@ -1700,7 +1700,7 @@ class Dartdoc {
final typeArgs = type.typeArguments;
if (typeArgs.length > 0) {
final args =
- Strings.join(typeArgs.mappedBy((arg) => typeName(arg)), ', ');
+ Strings.join(typeArgs.map((arg) => typeName(arg)), ', ');
return '${type.originalDeclaration.simpleName}<$args>';
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/codegen.dart ('k') | sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698