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

Unified Diff: sdk/lib/_internal/lib/js_helper.dart

Issue 219493003: Revert "Add support for closure calls through getters." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: sdk/lib/_internal/lib/js_helper.dart
diff --git a/sdk/lib/_internal/lib/js_helper.dart b/sdk/lib/_internal/lib/js_helper.dart
index d38875f1c439f5264e555bfd928e5c4be557770c..f56067bbaa904ed4191a2a2207fc02b42ad37340 100644
--- a/sdk/lib/_internal/lib/js_helper.dart
+++ b/sdk/lib/_internal/lib/js_helper.dart
@@ -150,7 +150,8 @@ class JSInvocationMirror implements Invocation {
List get positionalArguments {
if (isGetter) return const [];
- var argumentCount = _arguments.length - _namedArgumentNames.length;
+ var argumentCount =
+ _arguments.length - _namedArgumentNames.length;
if (argumentCount == 0) return const [];
var list = [];
for (var index = 0 ; index < argumentCount ; index++) {

Powered by Google App Engine
This is Rietveld 408576698