Index: pkg/analysis_server/lib/src/context_manager.dart |
diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart |
index 0224c7b92195c37e1430d36b5f85d798b4a69f91..8bbadccbfe05d26f957784f79d4fb3257ccb1f6e 100644 |
--- a/pkg/analysis_server/lib/src/context_manager.dart |
+++ b/pkg/analysis_server/lib/src/context_manager.dart |
@@ -1035,11 +1035,11 @@ class ContextManagerImpl implements ContextManager { |
*/ |
List<String> _computeFlushedFiles(ContextInfo info) { |
if (enableNewAnalysisDriver) { |
- Set<String> flushedFiles = info.analysisDriver.knownFiles.toSet(); |
+ Set<String> flushedFiles = info.analysisDriver.addedFiles.toSet(); |
for (ContextInfo contextInfo in rootInfo.descendants) { |
AnalysisDriver other = contextInfo.analysisDriver; |
if (other != info.analysisDriver) { |
- flushedFiles.removeAll(other.knownFiles); |
+ flushedFiles.removeAll(other.addedFiles); |
} |
} |
return flushedFiles.toList(growable: false); |