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

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

Issue 1396273004: Strong mode checker integration (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 893ae9f5a51642d64268b47f3040c7614057614a..a2493c2f9023dd64d4618de4e80c4f9b0174c31c 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -1154,6 +1154,7 @@ class AnalysisContextImpl implements InternalAnalysisContext {
entry.setState(RESOLVED_UNIT9, CacheState.FLUSHED);
Brian Wilkerson 2015/10/13 14:21:19 Should this flush RESOLVED_UNIT10?
Leaf 2015/10/13 16:46:27 Good catch, thanks. Done. Also below.
// USED_IMPORTED_ELEMENTS
// USED_LOCAL_ELEMENTS
+ setValue(STRONG_MODE_ERRORS, AnalysisError.NO_ERRORS);
setValue(VARIABLE_REFERENCE_ERRORS, AnalysisError.NO_ERRORS);
setValue(VERIFY_ERRORS, AnalysisError.NO_ERRORS);
});

Powered by Google App Engine
This is Rietveld 408576698