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

Unified Diff: pkg/analysis_server/test/mock_sdk.dart

Issue 2952233002: Fix hints and clean-up obsolete comment syntax (TBR) (Closed)
Patch Set: Created 3 years, 6 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: 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 {

Powered by Google App Engine
This is Rietveld 408576698