Index: pkg/compiler/lib/src/kernel/world_builder.dart |
diff --git a/pkg/compiler/lib/src/kernel/world_builder.dart b/pkg/compiler/lib/src/kernel/world_builder.dart |
index 37356f9a0c66b68cc61e10b32f1be14f2c483ce6..08c4929158093943e18a57423b399101ca4d6c9e 100644 |
--- a/pkg/compiler/lib/src/kernel/world_builder.dart |
+++ b/pkg/compiler/lib/src/kernel/world_builder.dart |
@@ -231,23 +231,30 @@ class KernelWorldBuilder extends KernelElementAdapterMixin { |
Name name = getName(node.name); |
bool isStatic = node.isStatic; |
bool isExternal = node.isExternal; |
+ bool isAbstract = node.isAbstract; |
KFunction function; |
switch (node.kind) { |
case ir.ProcedureKind.Factory: |
throw new UnsupportedError("Cannot create method from factory."); |
case ir.ProcedureKind.Getter: |
function = new KGetter(memberIndex, library, enclosingClass, name, |
- isStatic: isStatic, isExternal: isExternal); |
+ isStatic: isStatic, |
+ isExternal: isExternal, |
+ isAbstract: isAbstract); |
break; |
case ir.ProcedureKind.Method: |
case ir.ProcedureKind.Operator: |
function = new KMethod(memberIndex, library, enclosingClass, name, |
- isStatic: isStatic, isExternal: isExternal); |
+ isStatic: isStatic, |
+ isExternal: isExternal, |
+ isAbstract: isAbstract); |
break; |
case ir.ProcedureKind.Setter: |
function = new KSetter( |
memberIndex, library, enclosingClass, getName(node.name).setter, |
- isStatic: isStatic, isExternal: isExternal); |
+ isStatic: isStatic, |
+ isExternal: isExternal, |
+ isAbstract: isAbstract); |
break; |
} |
_memberList.add(node); |