Index: dart/tests/language/super_operator_index6_test.dart |
diff --git a/dart/tests/language/super_operator_index6_test.dart b/dart/tests/language/super_operator_index6_test.dart |
index 57e3951b60fd94a1338158b40f1716e6482bd4cd..dced2c95d1aa8ef16fa20c60b64c0bfe699faabb 100644 |
--- a/dart/tests/language/super_operator_index6_test.dart |
+++ b/dart/tests/language/super_operator_index6_test.dart |
@@ -11,7 +11,7 @@ class A { |
operator[]=(index, value) { indexField[index] = value; } |
noSuchMethod(Invocation im) { |
- if (im.memberName == '[]') { |
+ if (im.memberName == const Symbol('[]')) { |
Expect.equals(1, im.positionalArguments.length); |
return indexField[im.positionalArguments[0]]; |
} else { |