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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/file_state.dart

Issue 2808173002: Prioritize analysis of files that import the changed file, or have an error or warning. (Closed)
Patch Set: Use separate buckets for each file category. Created 3 years, 8 months 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/analyzer/lib/src/dart/analysis/file_state.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/file_state.dart b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
index 7138a7ecdd053061ffbe0f5d0b2c5e569086ace9..c742f9f61b25cac1c1ebe1fbb56a978cb0e1975e 100644
--- a/pkg/analyzer/lib/src/dart/analysis/file_state.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
@@ -116,6 +116,12 @@ class FileState {
Map<String, TopLevelDeclaration> _topLevelDeclarations;
Map<String, TopLevelDeclaration> _exportedTopLevelDeclarations;
+ /**
+ * The flag that shows whether the file has an error or warning that
+ * might be fixed by a change to another file.
+ */
+ bool hasErrorOrWarning = false;
+
FileState._(this._fsState, this.path, this.uri, this.source);
/**
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/driver.dart ('k') | pkg/analyzer/lib/src/dart/analysis/file_tracker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698