Index: pkg/analysis_server/lib/src/computer/computer_hover.dart |
diff --git a/pkg/analysis_server/lib/src/computer/computer_hover.dart b/pkg/analysis_server/lib/src/computer/computer_hover.dart |
index d4e10b4ddd2265d118cf8771324593ba587bc65c..1e3b80729f583d0d8d4dc0de78b61ece63db60c7 100644 |
--- a/pkg/analysis_server/lib/src/computer/computer_hover.dart |
+++ b/pkg/analysis_server/lib/src/computer/computer_hover.dart |
@@ -56,6 +56,7 @@ class DartUnitHoverComputer { |
// description |
hover.elementDescription = element.toString(); |
hover.elementKind = element.kind.displayName; |
+ hover.isDeprecated = element.isDeprecated; |
// not local element |
if (element.enclosingElement is! ExecutableElement) { |
// containing class |