Index: pkg/compiler/lib/src/resolution/class_hierarchy.dart |
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
index c156e8f77e5353a77f79e3ff583006d009dbbed0..a29bcbfb95c1968d624e88390810d2187b9c4712 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -211,7 +211,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
} |
FunctionElement constructor = |
new SynthesizedConstructorElementX.forDefault(superMember, element); |
- if (superMember.isErroneous) { |
+ if (superMember.isMalformed) { |
compiler.elementsWithCompileTimeErrors.add(constructor); |
} |
element.setDefaultConstructor(constructor, reporter); |