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

Unified Diff: dart/tests/language/super_operator_index5_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/super_operator_index5_test.dart
diff --git a/dart/tests/language/super_operator_index5_test.dart b/dart/tests/language/super_operator_index5_test.dart
index 1342852b85eb41adf4688fb894769714a279104f..29afbdc1a78e8c0d21805430f4299af883f9dfb7 100644
--- a/dart/tests/language/super_operator_index5_test.dart
+++ b/dart/tests/language/super_operator_index5_test.dart
@@ -11,7 +11,7 @@ class A {
operator[](index) => indexField[index];
noSuchMethod(Invocation im) {
- if (im.memberName == '[]=') {
+ if (im.memberName == const Symbol('[]=')) {
Expect.equals(2, im.positionalArguments.length);
indexField[im.positionalArguments[0]] = im.positionalArguments[1];
} else {

Powered by Google App Engine
This is Rietveld 408576698