| Index: pkg/analyzer/lib/task/model.dart
|
| diff --git a/pkg/analyzer/lib/task/model.dart b/pkg/analyzer/lib/task/model.dart
|
| index 93755761dcba13a21af0a03cbacee4e42b62522f..833a6d3906b6dbde91cbc3ae34663f50e547f229 100644
|
| --- a/pkg/analyzer/lib/task/model.dart
|
| +++ b/pkg/analyzer/lib/task/model.dart
|
| @@ -198,8 +198,8 @@ abstract class AnalysisTask {
|
| _safelyPerform();
|
| } on AnalysisException catch (exception, stackTrace) {
|
| caughtException = new CaughtException(exception, stackTrace);
|
| - AnalysisEngine.instance.logger.logInformation(
|
| - "Task failed: ${description}", caughtException);
|
| + AnalysisEngine.instance.logger
|
| + .logInformation("Task failed: ${description}", caughtException);
|
| }
|
| }
|
|
|
| @@ -221,8 +221,8 @@ abstract class AnalysisTask {
|
| if (contextName == null) {
|
| contextName = 'unnamed';
|
| }
|
| - AnalysisEngine.instance.instrumentationService.logAnalysisTask(
|
| - contextName, this);
|
| + AnalysisEngine.instance.instrumentationService
|
| + .logAnalysisTask(contextName, this);
|
| //
|
| // Gather statistics on the performance of the task.
|
| //
|
| @@ -268,7 +268,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);
|
| @@ -443,7 +444,9 @@ abstract class TaskDescriptor {
|
| * and produces the given [results]. The [buildTask] will be used to create
|
| * the instance of [AnalysisTask] thusly described.
|
| */
|
| - factory TaskDescriptor(String name, BuildTask buildTask,
|
| + factory TaskDescriptor(
|
| + String name,
|
| + BuildTask buildTask,
|
| CreateTaskInputs inputBuilder,
|
| List<ResultDescriptor> results) = TaskDescriptorImpl;
|
|
|
|
|