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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 2185713002: Remove unused code from limited invalidation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index 893e7285115990c5b7ccd43846b0aae561dc4e66..6860903184744597c65b90725f804c9549120133 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -2501,8 +2501,6 @@ class ContainingLibrariesTask extends SourceBasedAnalysisTask {
* The description for a change in a Dart source.
*/
class DartDelta extends Delta {
- bool hasDirectiveChange = false;
-
final Set<String> changedNames = new Set<String>();
final Map<Source, Set<String>> changedPrivateNames = <Source, Set<String>>{};
@@ -2719,9 +2717,6 @@ class DartDelta extends Delta {
@override
DeltaResult validate(InternalAnalysisContext context, AnalysisTarget target,
ResultDescriptor descriptor, Object value) {
- if (hasDirectiveChange) {
- return DeltaResult.INVALIDATE;
- }
// Prepare target source.
Source targetUnit = target.source;
Source targetLibrary = target.librarySource;
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698