Index: pkg/analyzer/lib/src/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart |
index 756fec6a6a8717a6b4a68f657b9443f85e1d48f3..0217df7869a936b3dc667b3094ad7d939caead22 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -592,6 +592,9 @@ class ClassElementImpl extends AbstractClassElementImpl |
@override |
String get documentationComment { |
+ if (_kernel != null) { |
+ return _kernel.documentationComment; |
+ } |
if (_unlinkedClass != null) { |
return _unlinkedClass?.documentationComment?.text; |
} |