Index: pkg/analyzer/lib/src/dart/analysis/driver.dart |
diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart |
index 211ba5a2843bb430eebb1afb43e411468408632f..06dc54f6b2f11782a37c07acc24a3172ace7fcd9 100644 |
--- a/pkg/analyzer/lib/src/dart/analysis/driver.dart |
+++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart |
@@ -548,6 +548,10 @@ class AnalysisDriver { |
void removeFile(String path) { |
_addedFiles.remove(path); |
_filesToAnalyze.remove(path); |
+ _fsState.removeFile(path); |
+ _filesToAnalyze.addAll(_addedFiles); |
+ _statusSupport.transitionToAnalyzing(); |
+ _scheduler._notify(this); |
} |
/** |