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

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

Issue 1411243010: Adding a not explicit source makes it explicit. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/context/context.dart
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
index aa8aa0f1ae8ea28b6ac30685ac89fd56e68d10a1..1b8b2e08ed194197c601a102211a295c64cc56ee 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -1765,6 +1765,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
if (entry == null) {
_createCacheEntry(source, true);
} else {
+ entry.explicitlyAdded = true;
entry.modificationTime = getModificationStamp(source);
entry.setState(CONTENT, CacheState.INVALID);
}

Powered by Google App Engine
This is Rietveld 408576698