Index: pkg/compiler/lib/src/elements/common.dart |
diff --git a/pkg/compiler/lib/src/elements/common.dart b/pkg/compiler/lib/src/elements/common.dart |
index 6c9a013451a35f19ce281285945374e4f9bcd130..3786967a2f6dd475f7c0d1c0bf5571ef0cf347b0 100644 |
--- a/pkg/compiler/lib/src/elements/common.dart |
+++ b/pkg/compiler/lib/src/elements/common.dart |
@@ -594,3 +594,16 @@ abstract class MixinApplicationElementCommon |
}); |
} |
} |
+ |
+abstract class AbstractFieldElementCommon implements AbstractFieldElement { |
+ @override |
+ bool get isInstanceMember { |
+ return isClassMember && !isStatic; |
+ } |
+ |
+ @override |
+ bool get isAbstract { |
+ return getter != null && getter.isAbstract || |
+ setter != null && setter.isAbstract; |
+ } |
+} |