Index: runtime/lib/function_patch.dart |
diff --git a/runtime/lib/function_patch.dart b/runtime/lib/function_patch.dart |
index f7b1532b3b58d01dc1e4b64276283f93e1e54dc7..5acd4f979524edd7bf6c0d828e376cc9f832c105 100644 |
--- a/runtime/lib/function_patch.dart |
+++ b/runtime/lib/function_patch.dart |
@@ -2,14 +2,14 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-@patch |
-class Function { |
- static _apply(List arguments, List names) native "Function_apply"; |
+@patch class Function { |
+ static _apply(List arguments, List names) |
+ native "Function_apply"; |
- @patch |
- static apply(Function function, List positionalArguments, |
- [Map<Symbol, dynamic> namedArguments]) { |
- int numPositionalArguments = 1 + // Function is first implicit argument. |
+ @patch static apply(Function function, |
+ List positionalArguments, |
+ [Map<Symbol, dynamic> namedArguments]) { |
+ int numPositionalArguments = 1 + // Function is first implicit argument. |
(positionalArguments != null ? positionalArguments.length : 0); |
int numNamedArguments = namedArguments != null ? namedArguments.length : 0; |
int numArguments = numPositionalArguments + numNamedArguments; |