Index: pkg/compiler/lib/src/kernel/elements.dart |
diff --git a/pkg/compiler/lib/src/kernel/elements.dart b/pkg/compiler/lib/src/kernel/elements.dart |
index 59f7455cb10698d1ed0f0df995e51c0b79c1a46e..ecc196553fdad72ed65b441820c18081895b2639 100644 |
--- a/pkg/compiler/lib/src/kernel/elements.dart |
+++ b/pkg/compiler/lib/src/kernel/elements.dart |
@@ -56,6 +56,9 @@ abstract class KMember implements MemberEntity { |
bool get isConst => false; |
@override |
+ bool get isAbstract => false; |
+ |
+ @override |
bool get isSetter => false; |
@override |
@@ -143,8 +146,10 @@ class KFactoryConstructor extends KConstructor { |
} |
class KMethod extends KFunction { |
+ final bool isAbstract; |
+ |
KMethod(int memberIndex, KLibrary library, KClass enclosingClass, Name name, |
- {bool isStatic, bool isExternal}) |
+ {bool isStatic, bool isExternal, this.isAbstract}) |
: super(memberIndex, library, enclosingClass, name, |
isStatic: isStatic, isExternal: isExternal); |
@@ -155,8 +160,10 @@ class KMethod extends KFunction { |
} |
class KGetter extends KFunction { |
+ final bool isAbstract; |
+ |
KGetter(int memberIndex, KLibrary library, KClass enclosingClass, Name name, |
- {bool isStatic, bool isExternal}) |
+ {bool isStatic, bool isExternal, this.isAbstract}) |
: super(memberIndex, library, enclosingClass, name, |
isStatic: isStatic, isExternal: isExternal); |
@@ -167,8 +174,10 @@ class KGetter extends KFunction { |
} |
class KSetter extends KFunction { |
+ final bool isAbstract; |
+ |
KSetter(int memberIndex, KLibrary library, KClass enclosingClass, Name name, |
- {bool isStatic, bool isExternal}) |
+ {bool isStatic, bool isExternal, this.isAbstract}) |
: super(memberIndex, library, enclosingClass, name, |
isStatic: isStatic, isExternal: isExternal); |