Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: pkg/analysis_server/lib/src/context_manager.dart

Issue 2569623002: Renames and comment tweaks for files. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698