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

Unified Diff: tool/input_sdk/private/ddc_runtime/types.dart

Issue 1968193002: avoid spread args (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « tool/input_sdk/private/ddc_runtime/operations.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/ddc_runtime/types.dart
diff --git a/tool/input_sdk/private/ddc_runtime/types.dart b/tool/input_sdk/private/ddc_runtime/types.dart
index fbbbd9e395ccab3738812f14901feb68479bd315..57c8525d47d25a9615c7b6588f4f9a3dd73e5d24 100644
--- a/tool/input_sdk/private/ddc_runtime/types.dart
+++ b/tool/input_sdk/private/ddc_runtime/types.dart
@@ -357,7 +357,7 @@ _functionType(definite, returnType, args, extra) => JS('', '''(() => {
// A closure that computes the remaining arguments.
// Return a function that makes the type.
function makeGenericFnType(...types) {
- let parts = fnTypeParts(...types);
+ let parts = fnTypeParts.apply(null, types);
return $FunctionType.create($definite, parts[0], parts[1], parts[2]);
}
makeGenericFnType[$_typeFormalCount] = fnTypeParts.length;
« no previous file with comments | « tool/input_sdk/private/ddc_runtime/operations.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698