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

Unified Diff: dart/tests/language/no_such_method_test.dart

Issue 14066019: Change memberName and namedArguments in Invocation to use Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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/tests/language/no_such_method_test.dart
diff --git a/dart/tests/language/no_such_method_test.dart b/dart/tests/language/no_such_method_test.dart
index 39f1417c28857255853267e2df1a6b227925a0b0..d112019e4addd15164355b7ee15c2c4d7259e03a 100644
--- a/dart/tests/language/no_such_method_test.dart
+++ b/dart/tests/language/no_such_method_test.dart
@@ -22,7 +22,7 @@ class NoSuchMethodTest {
Expect.equals("moo", getName(im));
Expect.equals(0, im.positionalArguments.length);
Expect.equals(1, im.namedArguments.length);
- return foo(b:im.namedArguments["b"]);
+ return foo(b:im.namedArguments[const Symbol("b")]);
}
static testMain() {

Powered by Google App Engine
This is Rietveld 408576698