Index: pkg/compiler/lib/src/resolution/constructors.dart |
diff --git a/pkg/compiler/lib/src/resolution/constructors.dart b/pkg/compiler/lib/src/resolution/constructors.dart |
index 740cdcbb497e54eac49cdd4bf9cfa3bde8649ac7..88a699d9fb22e11627beecc7a93a30803e5789dc 100644 |
--- a/pkg/compiler/lib/src/resolution/constructors.dart |
+++ b/pkg/compiler/lib/src/resolution/constructors.dart |
@@ -275,7 +275,8 @@ class InitializerResolver { |
reportAndCreateErroneousConstructor(node, constructorName, kind, {}); |
} else { |
lookedupConstructor.computeType(visitor.resolution); |
- if (!callStructure.signatureApplies(lookedupConstructor.type)) { |
+ if (!callStructure |
+ .signatureApplies(lookedupConstructor.parameterStructure)) { |
MessageKind kind = isImplicitSuperCall |
? MessageKind.NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT |
: MessageKind.NO_MATCHING_CONSTRUCTOR; |