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

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

Issue 43073002: Fix Function.apply() + call() + noSuchMethod() in dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « no previous file | tests/language/call_with_no_such_method_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1890de0cb0ff4a2dfcb2c009cf5ecf87a71a066c..ff0cf493b32e7ca4331741af2107beaf45320721 100644
--- a/sdk/lib/_internal/lib/js_helper.dart
+++ b/sdk/lib/_internal/lib/js_helper.dart
@@ -715,7 +715,7 @@ class Primitives {
selectorName,
JSInvocationMirror.METHOD,
arguments,
- namedArguments == null ? null : namedArguments.keys.toList()));
+ namedArguments == null ? [] : namedArguments.keys.toList()));
}
// We bound 'this' to [function] because of how we compile
// closures: escaped local variables are stored and accessed through
« no previous file with comments | « no previous file | tests/language/call_with_no_such_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698