Index: pkg/compiler/lib/src/kernel/kernel.dart |
diff --git a/pkg/compiler/lib/src/kernel/kernel.dart b/pkg/compiler/lib/src/kernel/kernel.dart |
index bd1963153afd576368b711ade1bdf3f526596386..6c4aa3d2483272669cb6371a6090862df282fe93 100644 |
--- a/pkg/compiler/lib/src/kernel/kernel.dart |
+++ b/pkg/compiler/lib/src/kernel/kernel.dart |
@@ -210,7 +210,8 @@ class Kernel { |
} |
}); |
classNode.typeParameters.addAll(typeVariablesToIr(cls.typeVariables)); |
- for (ir.InterfaceType interface in typesToIr(cls.interfaces.toList())) { |
+ for (ir.InterfaceType interface |
+ in typesToIr(cls.interfaces.reverse().toList())) { |
classNode.implementedTypes.add(interface); |
} |
}); |
@@ -441,9 +442,7 @@ class Kernel { |
isConst: field.isConst); |
addWork(field, () { |
setParent(fieldNode, field); |
- if (!field.isMalformed && |
- !field.isInstanceMember && |
- field.initializer != null) { |
+ if (!field.isMalformed && field.initializer != null) { |
KernelVisitor visitor = |
new KernelVisitor(field, field.treeElements, this); |
fieldNode.initializer = visitor.buildInitializer() |