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 7dbba649bd077d450041883cfcf5418e0f8a39dc..62265c4dfc121212d7e3f3e12a19890d991cf97a 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -202,7 +202,8 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
} else { |
ConstructorElement superConstructor = superMember; |
superConstructor.computeType(resolution); |
- if (!CallStructure.NO_ARGS.signatureApplies(superConstructor.type)) { |
+ if (!CallStructure.NO_ARGS |
+ .signatureApplies(superConstructor.parameterStructure)) { |
MessageKind kind = MessageKind.NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT; |
reporter.reportErrorMessage(node, kind); |
superMember = new ErroneousElementX(kind, {}, '', element); |