Index: pkg/analyzer/test/src/context/mock_sdk.dart |
diff --git a/pkg/analyzer/test/src/context/mock_sdk.dart b/pkg/analyzer/test/src/context/mock_sdk.dart |
index 54669495a51c45d67f08d22889cf2afce61b083e..715ad1cc0c38d1109df9090973e514de116eac77 100644 |
--- a/pkg/analyzer/test/src/context/mock_sdk.dart |
+++ b/pkg/analyzer/test/src/context/mock_sdk.dart |
@@ -151,18 +151,19 @@ abstract class Iterable<E> { |
/*=R*/ combine(/*=R*/ previousValue, E element)); |
} |
-abstract class List<E> implements Iterable<E> { |
- void add(E value); |
- E operator [](int index); |
- void operator []=(int index, E value); |
+class List<E> implements Iterable<E> { |
+ List(); |
+ void add(E value) {} |
+ E operator [](int index) => null; |
+ void operator []=(int index, E value) {} |
Iterator<E> get iterator => null; |
- void clear(); |
+ void clear() {} |
} |
-abstract class Map<K, V> extends Object { |
- Iterable<K> get keys; |
- V operator [](K key); |
- void operator []=(K key, V value); |
+class Map<K, V> extends Object { |
+ Iterable<K> get keys => null; |
+ V operator [](K key) => null; |
+ void operator []=(K key, V value) {} |
} |
external bool identical(Object a, Object b); |