Index: pkg/analyzer/lib/src/context/cache.dart |
diff --git a/pkg/analyzer/lib/src/context/cache.dart b/pkg/analyzer/lib/src/context/cache.dart |
index efa822755408e305213da2b65b75a31da40b8f9a..5335a3261cc32271170a01bbef53dc21822cd56e 100644 |
--- a/pkg/analyzer/lib/src/context/cache.dart |
+++ b/pkg/analyzer/lib/src/context/cache.dart |
@@ -673,7 +673,7 @@ class CacheEntry { |
deltaResult == DeltaResult.INVALIDATE_NO_DELTA) { |
_resultMap.remove(descriptor); |
// Stop depending on other results. |
- if (deltaResult != DeltaResult.KEEP_CONTINUE) { |
+ { |
TargetedResult thisResult = new TargetedResult(target, descriptor); |
List<AnalysisCache> caches = _partition.containingCaches; |
int cacheLength = caches.length; |
@@ -714,8 +714,10 @@ class CacheEntry { |
_partition._removeIfSource(target); |
} |
// Notify controller. |
- _partition.onResultInvalidated |
- .add(new InvalidatedResult(this, descriptor, thisData.value)); |
+ if (deltaResult != DeltaResult.KEEP_CONTINUE) { |
+ _partition.onResultInvalidated |
+ .add(new InvalidatedResult(this, descriptor, thisData.value)); |
+ } |
} |
/** |