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 6c187856a357f4e632373334880a795e643017b0..ba4eeda85202751c6c3a58936f02c09ac52c45c4 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -1236,6 +1236,7 @@ class ClassElementImpl extends AbstractClassElementImpl |
field.synthetic = true; |
field.final2 = e.kind == UnlinkedExecutableKind.getter; |
field.type = fieldType; |
+ field.static = e.isStatic; |
} else { |
field.final2 = false; |
} |