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

Unified Diff: pkg/analyzer/lib/src/summary/summarize_ast.dart

Issue 2615013003: Fix for summarizing triple slash documentation comments. (Closed)
Patch Set: Created 3 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
Index: pkg/analyzer/lib/src/summary/summarize_ast.dart
diff --git a/pkg/analyzer/lib/src/summary/summarize_ast.dart b/pkg/analyzer/lib/src/summary/summarize_ast.dart
index 5d357832aababeccf536b5a4cbd7f2fd59157484..46b7b2d9990fef15813062a70c771c1601d6693a 100644
--- a/pkg/analyzer/lib/src/summary/summarize_ast.dart
+++ b/pkg/analyzer/lib/src/summary/summarize_ast.dart
@@ -597,7 +597,7 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor {
}
String text = documentationComment.tokens
.map((Token t) => t.toString())
- .join()
+ .join('\n')
.replaceAll('\r\n', '\n');
return new UnlinkedDocumentationCommentBuilder(text: text);
}

Powered by Google App Engine
This is Rietveld 408576698