| Index: pkg/analyzer/lib/src/task/task_dart.dart
|
| diff --git a/pkg/analyzer/lib/src/task/task_dart.dart b/pkg/analyzer/lib/src/task/task_dart.dart
|
| index 8e123b3b8cfeb5701a6ca18c72a078117acd3096..2ea6b9a845a8af4f639b1e5867b0d89d2d6f03a4 100644
|
| --- a/pkg/analyzer/lib/src/task/task_dart.dart
|
| +++ b/pkg/analyzer/lib/src/task/task_dart.dart
|
| @@ -40,10 +40,19 @@ class BuildUnitElementTask extends AnalysisTask {
|
| * the given [source] in the given [library] based on the compilation [unit]
|
| * that was parsed.
|
| */
|
| - BuildUnitElementTask(InternalAnalysisContext context, this.source, this.library, this.unit)
|
| + BuildUnitElementTask(InternalAnalysisContext context, this.source,
|
| + this.library, this.unit)
|
| : super(context);
|
|
|
| @override
|
| + String get taskDescription {
|
| + if (source == null) {
|
| + return "build the unit element model for null source";
|
| + }
|
| + return "build the unit element model for " + source.fullName;
|
| + }
|
| +
|
| + @override
|
| accept(AnalysisTaskVisitor visitor) {
|
| return visitor.visitBuildUnitElementTask(this);
|
| }
|
| @@ -75,12 +84,4 @@ class BuildUnitElementTask extends AnalysisTask {
|
| CompilationUnitBuilder builder = new CompilationUnitBuilder();
|
| unitElement = builder.buildCompilationUnit(source, unit);
|
| }
|
| -
|
| - @override
|
| - String get taskDescription {
|
| - if (source == null) {
|
| - return "build the unit element model for null source";
|
| - }
|
| - return "build the unit element model for " + source.fullName;
|
| - }
|
| }
|
|
|