Index: pkg/analyzer/lib/src/dart/element/handle.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/handle.dart b/pkg/analyzer/lib/src/dart/element/handle.dart |
index 776a26e5eaa78a6f77dd3879056a3cf913c533be..633fcb0aa6ec9c83c08675560dec0d2760b99e7a 100644 |
--- a/pkg/analyzer/lib/src/dart/element/handle.dart |
+++ b/pkg/analyzer/lib/src/dart/element/handle.dart |
@@ -971,10 +971,10 @@ class PropertyAccessorElementHandle extends ExecutableElementHandle |
actualElement.correspondingSetter; |
@override |
- bool get isGetter => actualElement.isGetter; |
+ bool get isGetter => !isSetter; |
@override |
- bool get isSetter => actualElement.isSetter; |
+ bool get isSetter => location.components.last.endsWith('='); |
@override |
ElementKind get kind { |