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

Unified Diff: pkg/compiler/lib/src/compile_time_constants.dart

Issue 908863003: dart2js cps: Handle optional parameters in builder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unrevert + rebase Created 5 years, 10 months 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
Index: pkg/compiler/lib/src/compile_time_constants.dart
diff --git a/pkg/compiler/lib/src/compile_time_constants.dart b/pkg/compiler/lib/src/compile_time_constants.dart
index 5fb178d9b7de98e8a7fc15e865bebedec65e3b59..13d5d63a79b89bf19cacf169c01ea3fd5f2d7ffb 100644
--- a/pkg/compiler/lib/src/compile_time_constants.dart
+++ b/pkg/compiler/lib/src/compile_time_constants.dart
@@ -676,10 +676,10 @@ class CompileTimeConstantEvaluator extends Visitor<AstConstant> {
target.functionSignature.parameterCount,
new ErroneousAstConstant(context, node));
}
- return selector.makeArgumentsList2(arguments,
- target,
- compileArgument,
- compileDefaultValue);
+ return selector.makeArgumentsList(arguments,
+ target,
+ compileArgument,
+ compileDefaultValue);
}
AstConstant visitNewExpression(NewExpression node) {

Powered by Google App Engine
This is Rietveld 408576698