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

Unified Diff: pkg/analyzer/lib/task/model.dart

Issue 1007063005: Extract _ListTaskInputMixin and allow chaining. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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/analyzer/lib/task/model.dart
diff --git a/pkg/analyzer/lib/task/model.dart b/pkg/analyzer/lib/task/model.dart
index 38e79ba05036f521bd0403a9c7dd03896bf835fa..4da15afe901fa342d1e65b9f2291c1b4a304320d 100644
--- a/pkg/analyzer/lib/task/model.dart
+++ b/pkg/analyzer/lib/task/model.dart
@@ -279,13 +279,13 @@ abstract class ListTaskInput<E> extends TaskInput<List<E>> {
* Return a task input that can be used to compute a list whose elements are
* the result of passing the elements of this input to the [mapper] function.
*/
- TaskInput<List /*<V>*/ > toList(UnaryFunction<E, dynamic /*<V>*/ > mapper);
+ ListTaskInput /*<V>*/ toList(UnaryFunction<E, dynamic /*<V>*/ > mapper);
/**
* Return a task input that can be used to compute a list whose elements are
* [valueResult]'s associated with those elements.
*/
- TaskInput<List /*<V>*/ > toListOf(ResultDescriptor /*<V>*/ valueResult);
+ ListTaskInput /*<V>*/ toListOf(ResultDescriptor /*<V>*/ valueResult);
/**
* Return a task input that can be used to compute a map whose keys are the
« pkg/analyzer/lib/src/task/inputs.dart ('K') | « pkg/analyzer/lib/src/task/inputs.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698