Index: pkg/analyzer/lib/src/task/dart.dart |
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart |
index 9dbed8671f8d3ebb038b0c2e5ec311ed8ce047d7..1a5046d0491a23b9a77e1648fa413dd0e3490c1c 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -3488,13 +3488,13 @@ class ParseDartTask extends SourceBasedAnalysisTask { |
/** |
* Return a map from the names of the inputs of this kind of task to the task |
* input descriptors describing those inputs for a task with the given |
- * [source]. |
+ * [target]. |
*/ |
static Map<String, TaskInput> buildInputs(AnalysisTarget target) { |
return <String, TaskInput>{ |
LINE_INFO_INPUT_NAME: LINE_INFO.of(target), |
MODIFICATION_TIME_INPUT_NAME: MODIFICATION_TIME.of(target), |
- TOKEN_STREAM_INPUT_NAME: TOKEN_STREAM.of(target) |
+ TOKEN_STREAM_INPUT_NAME: TOKEN_STREAM.of(target, flushOnAccess: true) |
}; |
} |