Index: pkg/compiler/lib/src/resolution/signatures.dart |
diff --git a/pkg/compiler/lib/src/resolution/signatures.dart b/pkg/compiler/lib/src/resolution/signatures.dart |
index 08bb37fad28e118806c1cd5a71016bc2d8492b97..8b31d43489f7aae62ec4bf744aca4e6e21a45c7e 100644 |
--- a/pkg/compiler/lib/src/resolution/signatures.dart |
+++ b/pkg/compiler/lib/src/resolution/signatures.dart |
@@ -350,13 +350,14 @@ class SignatureResolver extends MappingVisitor<FormalElementX> { |
optionalParameterTypes, |
namedParameters, |
namedParameterTypes); |
- return new FunctionSignatureX(parameters, |
- visitor.optionalParameters, |
- requiredParameterCount, |
- visitor.optionalParameterCount, |
- visitor.optionalParametersAreNamed, |
- orderedOptionalParameters, |
- type); |
+ return new FunctionSignatureX( |
+ requiredParameters: parameters, |
+ optionalParameters: visitor.optionalParameters, |
+ requiredParameterCount: requiredParameterCount, |
+ optionalParameterCount: visitor.optionalParameterCount, |
+ optionalParametersAreNamed: visitor.optionalParametersAreNamed, |
+ orderedOptionalParameters: orderedOptionalParameters, |
+ type: type); |
} |
DartType resolveTypeAnnotation(TypeAnnotation annotation) { |