Index: pkg/analyzer/lib/src/generated/utilities_dart.dart |
diff --git a/pkg/analyzer/lib/src/generated/utilities_dart.dart b/pkg/analyzer/lib/src/generated/utilities_dart.dart |
index 0f18777dd71c8a7e896819ea7a172ea1298f7bee..d244dce7a7fd6e8de6547d31e954dc934502f64e 100644 |
--- a/pkg/analyzer/lib/src/generated/utilities_dart.dart |
+++ b/pkg/analyzer/lib/src/generated/utilities_dart.dart |
@@ -51,6 +51,7 @@ void setElementDocumentationComment(ElementImpl element, AnnotatedNode node) { |
if (comment != null && comment.isDocumentation) { |
element.documentationComment = |
comment.tokens.map((Token t) => t.lexeme).join('\n'); |
+ element.setDocRange(comment.offset, comment.length); |
} |
} |