Index: pkg/analyzer/lib/src/task/driver.dart |
diff --git a/pkg/analyzer/lib/src/task/driver.dart b/pkg/analyzer/lib/src/task/driver.dart |
index 8daa5cfe08d0e1839aa5be0742a9c48e81ed5f89..3231454d46fd79688b02692f2a3d02666af9ba35 100644 |
--- a/pkg/analyzer/lib/src/task/driver.dart |
+++ b/pkg/analyzer/lib/src/task/driver.dart |
@@ -667,6 +667,9 @@ class WorkItem { |
} |
} else { |
builder.currentValue = inputEntry.getValue(inputResult); |
+ if (builder.flushOnAccess) { |
+ inputEntry.setState(inputResult, CacheState.FLUSHED); |
+ } |
} |
if (!builder.moveNext()) { |
inputs = builder.inputValue; |