Index: pkg/analyzer/lib/src/context/context.dart |
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart |
index aa8aa0f1ae8ea28b6ac30685ac89fd56e68d10a1..1b8b2e08ed194197c601a102211a295c64cc56ee 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -1765,6 +1765,7 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
if (entry == null) { |
_createCacheEntry(source, true); |
} else { |
+ entry.explicitlyAdded = true; |
entry.modificationTime = getModificationStamp(source); |
entry.setState(CONTENT, CacheState.INVALID); |
} |