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

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

Issue 24493006: Implement named arguments in InstanceMirror.invoke. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Tweaked test to get a little test coverage Created 7 years, 3 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: dart/sdk/lib/_internal/lib/js_helper.dart
diff --git a/dart/sdk/lib/_internal/lib/js_helper.dart b/dart/sdk/lib/_internal/lib/js_helper.dart
index 073436ecea169ef59f502ec39fba3eece762e471..3737c4acd1bd7810dd06dc4a71667999bd6e567e 100644
--- a/dart/sdk/lib/_internal/lib/js_helper.dart
+++ b/dart/sdk/lib/_internal/lib/js_helper.dart
@@ -667,7 +667,6 @@ class Primitives {
arguments.addAll(positionalArguments);
}
- // TODO(ahe): Use JS_SOMETHING to get name from Namer.
if (JS('bool', r'# in #', JS_GET_NAME('CALL_CATCH_ALL'), function)) {
// We expect the closure to have a "call$catchAll" (the value of
// JS_GET_NAME('CALL_CATCH_ALL')) function that returns all the expected
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart ('k') | dart/sdk/lib/_internal/lib/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698