| Index: pkg/analyzer/lib/task/model.dart
|
| diff --git a/pkg/analyzer/lib/task/model.dart b/pkg/analyzer/lib/task/model.dart
|
| index c7d0c57418c3eee96862d40e8a811a6ee516d716..d0ec89d5dd3b21cd7480b0429f6824fb4859f38f 100644
|
| --- a/pkg/analyzer/lib/task/model.dart
|
| +++ b/pkg/analyzer/lib/task/model.dart
|
| @@ -337,8 +337,8 @@ abstract class ListResultDescriptor<E> implements ResultDescriptor<List<E>> {
|
| * values associated with this result will remain in the cache.
|
| */
|
| factory ListResultDescriptor(String name, List<E> defaultValue,
|
| - {ResultCachingPolicy<List<E>> cachingPolicy}) = ListResultDescriptorImpl<
|
| - E>;
|
| + {ResultCachingPolicy<List<E>> cachingPolicy}) =
|
| + ListResultDescriptorImpl<E>;
|
|
|
| @override
|
| ListTaskInput<E> of(AnalysisTarget target, {bool flushOnAccess: false});
|
| @@ -355,35 +355,36 @@ abstract class ListTaskInput<E> implements TaskInput<List<E>> {
|
| * Return a task input that can be used to compute a flatten list whose
|
| * elements are combined [subListResult]'s associated with those elements.
|
| */
|
| - ListTaskInput /*<V>*/ toFlattenListOf(
|
| + ListTaskInput /*<V>*/ toFlattenListOf /*<V>*/ (
|
| ListResultDescriptor /*<V>*/ subListResult);
|
|
|
| /**
|
| * 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.
|
| */
|
| - ListTaskInput /*<V>*/ toList(UnaryFunction<E, dynamic /*<V>*/ > mapper);
|
| + ListTaskInput /*<V>*/ toList /*<V>*/ (
|
| + 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.
|
| */
|
| - ListTaskInput /*<V>*/ toListOf(ResultDescriptor /*<V>*/ valueResult);
|
| + ListTaskInput /*<V>*/ toListOf /*<V>*/ (ResultDescriptor /*<V>*/ valueResult);
|
|
|
| /**
|
| * Return a task input that can be used to compute a map whose keys are the
|
| * elements of this input and whose values are the result of passing the
|
| * corresponding key to the [mapper] function.
|
| */
|
| - MapTaskInput<E, dynamic /*V*/ > toMap(
|
| - UnaryFunction<E, dynamic /*<V>*/ > mapper);
|
| + MapTaskInput<E, dynamic /*=V*/ > toMap /*<V>*/ (
|
| + UnaryFunction<E, dynamic /*=V*/ > mapper);
|
|
|
| /**
|
| * Return a task input that can be used to compute a map whose keys are the
|
| * elements of this input and whose values are the [valueResult]'s associated
|
| * with those elements.
|
| */
|
| - MapTaskInput<AnalysisTarget, dynamic /*V*/ > toMapOf(
|
| + MapTaskInput<AnalysisTarget, dynamic /*=V*/ > toMapOf /*<V>*/ (
|
| ResultDescriptor /*<V>*/ valueResult);
|
| }
|
|
|
| @@ -399,8 +400,8 @@ abstract class MapTaskInput<K, V> implements TaskInput<Map<K, V>> {
|
| * the result of passing keys [K] and the corresponding elements of [V] to
|
| * the [mapper] function.
|
| */
|
| - TaskInput<List /*<E>*/ > toFlattenList(
|
| - BinaryFunction<K, dynamic /*element of V*/, dynamic /*<E>*/ > mapper);
|
| + TaskInput<List /*<E>*/ > toFlattenList /*<E>*/ (
|
| + BinaryFunction<K, dynamic /*element of V*/, dynamic /*=E*/ > mapper);
|
| }
|
|
|
| /**
|
| @@ -570,7 +571,7 @@ abstract class TaskInput<V> {
|
| * Return a task input that can be used to compute a list whose elements are
|
| * the result of passing the result of this input to the [mapper] function.
|
| */
|
| - ListTaskInput /*<E>*/ mappedToList(List /*<E>*/ mapper(V value));
|
| + ListTaskInput /*<E>*/ mappedToList /*<E>*/ (List /*<E>*/ mapper(V value));
|
| }
|
|
|
| /**
|
|
|