Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: pkg/compiler/lib/src/resolution/signatures.dart

Issue 707463003: Support enums in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | pkg/compiler/lib/src/scanner/listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution.dart ('k') | pkg/compiler/lib/src/scanner/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698