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>'; |
} |