Index: pkg/analyzer/test/src/summary/resynthesize_test.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
index f6e97754506b22218c3f8348af4286b3e19d03cf..1879020c3a1427dc29d0da168aa8ba562c4b7e6f 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart |
@@ -766,6 +766,14 @@ class E { |
checkLibrary('class C { f(void g()) {} }'); |
} |
+ test_operator_index() { |
+ checkLibrary('class C { bool operator[](int i) => null; }'); |
+ } |
+ |
+ test_operator_index_set() { |
+ checkLibrary('class C { void operator[]=(int i, bool v) {} }'); |
+ } |
+ |
test_parts() { |
addNamedSource('/a.dart', 'part of my.lib;'); |
addNamedSource('/b.dart', 'part of my.lib;'); |