Index: pkg/analysis_server/test/mock_sdk.dart |
diff --git a/pkg/analysis_server/test/mock_sdk.dart b/pkg/analysis_server/test/mock_sdk.dart |
index 0697130f88335a82b092887bc0d43768aa8f942b..d1e180ce9836332b9294f4f4c2b2a0ac50aec04f 100644 |
--- a/pkg/analysis_server/test/mock_sdk.dart |
+++ b/pkg/analysis_server/test/mock_sdk.dart |
@@ -130,7 +130,8 @@ class Iterator<E> { |
abstract class Iterable<E> { |
Iterator<E> get iterator; |
bool get isEmpty; |
- Iterable/*<R>*/ map/*<R>*/(/*=R*/ f(E e)); |
+ Iterable<T> map<T>(T f(E e)) => null; |
+ T fold<T>(T initialValue, T combine(T previousValue, E element)); |
} |
class List<E> implements Iterable<E> { |
@@ -145,12 +146,6 @@ class List<E> implements Iterable<E> { |
bool get isEmpty => false; |
E get first => null; |
E get last => null; |
- |
- Iterable/*<R>*/ map/*<R>*/(/*=R*/ f(E e)) => null; |
- |
- /*=R*/ fold/*<R>*/(/*=R*/ initialValue, |
- /*=R*/ combine(/*=R*/ previousValue, E element)) => null; |
- |
} |
abstract class Map<K, V> extends Object { |