Index: pkg/analyzer/tool/task_dependency_graph.dart |
diff --git a/pkg/analyzer/tool/task_dependency_graph.dart b/pkg/analyzer/tool/task_dependency_graph.dart |
index 4625b42a687cdb07848f8d41f261e42fbf27c268..5da29763ab9aa5af877da6b922e8454e868a62a3 100644 |
--- a/pkg/analyzer/tool/task_dependency_graph.dart |
+++ b/pkg/analyzer/tool/task_dependency_graph.dart |
@@ -94,7 +94,9 @@ class Driver { |
CompilationUnitElement modelElement = getUnit(modelSource).element; |
InterfaceType analysisTaskType = modelElement.getType('AnalysisTask').type; |
DartType dynamicType = context.typeProvider.dynamicType; |
- resultDescriptorType = modelElement.getType('ResultDescriptor').type |
+ resultDescriptorType = modelElement |
+ .getType('ResultDescriptor') |
+ .type |
.substitute4([dynamicType]); |
CompilationUnit taskUnit = getUnit(taskSource); |
CompilationUnitElement taskUnitElement = taskUnit.element; |