| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index d31447f7d05697aa828c70192ba3963bee9efc59..0301d2c9d2fd80cac0721c0eaf1d6f7bc2e05d59 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -3390,7 +3390,8 @@ class SsaBuilder extends ast.Visitor
|
| // calling [makeStaticArgumentList].
|
| constructorImplementation = constructor.implementation;
|
| if (constructorImplementation.isMalformed ||
|
| - !callStructure.signatureApplies(constructorImplementation.type)) {
|
| + !callStructure
|
| + .signatureApplies(constructorImplementation.parameterStructure)) {
|
| generateWrongArgumentCountError(send, constructor, send.arguments);
|
| return;
|
| }
|
|
|