| 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 977b688d8f373e252d9f5590cbbc417748ada77f..9c75184413c10311e9494736e6b1b042496978f7 100644
|
| --- a/pkg/compiler/lib/src/resolution/constructors.dart
|
| +++ b/pkg/compiler/lib/src/resolution/constructors.dart
|
| @@ -171,8 +171,8 @@ class InitializerResolver {
|
| Node diagnosticNode,
|
| String className,
|
| Selector constructorSelector) {
|
| - if (lookedupConstructor == null
|
| - || !lookedupConstructor.isGenerativeConstructor) {
|
| + if (lookedupConstructor == null ||
|
| + !lookedupConstructor.isGenerativeConstructor) {
|
| String fullConstructorName = Elements.constructorNameForDiagnostics(
|
| className,
|
| constructorSelector.name);
|
| @@ -183,7 +183,7 @@ class InitializerResolver {
|
| diagnosticNode, kind, {'constructorName': fullConstructorName});
|
| } else {
|
| lookedupConstructor.computeSignature(visitor.compiler);
|
| - if (!call.signatureApplies(lookedupConstructor)) {
|
| + if (!call.signatureApplies(lookedupConstructor.functionSignature)) {
|
| MessageKind kind = isImplicitSuperCall
|
| ? MessageKind.NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT
|
| : MessageKind.NO_MATCHING_CONSTRUCTOR;
|
|
|