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 4619738fb8356b69762d073a6cf0f1073b6959ae..488b9f1e311a8a95a1031124814efa96e4adba75 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -474,6 +474,13 @@ class ClassElementImpl extends AbstractClassElementImpl |
bool _hasBeenInferred = false; |
/** |
+ * The version of this element. The version is changed when the element is |
+ * incrementally updated, so that its lists of constructors, accessors and |
+ * methods might be different. |
+ */ |
+ int version = 0; |
+ |
+ /** |
* Initialize a newly created class element to have the given [name] at the |
* given [offset] in the file that contains the declaration of this element. |
*/ |