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

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

Issue 2330813002: Reapply abc5051854fd7c98c7ba6b593211e47dcbcec9e8: Remove 'Element.docRange'. (Closed)
Patch Set: Created 4 years, 3 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 701da824182468e4165698dab28d04e38d3813d6..ede1b0a3fbff1f8fae62bdd04a63e19ae8ee0aa1 100644
--- a/pkg/analyzer/lib/src/summary/summarize_ast.dart
+++ b/pkg/analyzer/lib/src/summary/summarize_ast.dart
@@ -585,10 +585,7 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor {
.map((Token t) => t.toString())
.join()
.replaceAll('\r\n', '\n');
- return new UnlinkedDocumentationCommentBuilder(
- text: text,
- offset: documentationComment.offset,
- length: documentationComment.length);
+ return new UnlinkedDocumentationCommentBuilder(text: text);
}
/**

Powered by Google App Engine
This is Rietveld 408576698