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

Unified Diff: lib/src/checker/checker.dart

Issue 1376123004: Batch the batch compiler for tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Flush on demand 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
« no previous file with comments | « no previous file | lib/src/compiler.dart » ('j') | lib/src/compiler.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/checker/checker.dart
diff --git a/lib/src/checker/checker.dart b/lib/src/checker/checker.dart
index ddbb40224a47c2a0b94117945bdf3bce34606438..2c21b9b82aa557742a8b68802dde3bf9e68e30d7 100644
--- a/lib/src/checker/checker.dart
+++ b/lib/src/checker/checker.dart
@@ -331,6 +331,11 @@ class CodeChecker extends RecursiveAstVisitor {
bool _failure = false;
bool get failure => _failure || _overrideChecker._failure;
+ void reset() {
+ _failure = false;
+ _overrideChecker._failure = false;
+ }
+
CodeChecker(TypeRules rules, AnalysisErrorListener reporter,
StrongModeOptions options)
: rules = rules,
« no previous file with comments | « no previous file | lib/src/compiler.dart » ('j') | lib/src/compiler.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698