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

Unified Diff: dart/tests/compiler/dart2js/memory_compiler.dart

Issue 246733004: Don't use fatal errors in message_kind_test.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 6 years, 8 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: dart/tests/compiler/dart2js/memory_compiler.dart
diff --git a/dart/tests/compiler/dart2js/memory_compiler.dart b/dart/tests/compiler/dart2js/memory_compiler.dart
index a279cadfaa6b54c45bd28126aacb564e6ec1c217..fa257a8eb76d32e8f53aafd92597af97a593fe81 100644
--- a/dart/tests/compiler/dart2js/memory_compiler.dart
+++ b/dart/tests/compiler/dart2js/memory_compiler.dart
@@ -209,7 +209,8 @@ Compiler compilerFor(Map<String,String> memorySourceFiles,
cachedCompiler.irBuilder = null;
cachedCompiler.typesTask = null;
cachedCompiler.backend = null;
- cachedCompiler.enqueuer = null;
+ // Don't null out the enqueuer as it prevents us from using cachedCompiler
+ // more than once.
cachedCompiler.deferredLoadTask = null;
cachedCompiler.mirrorUsageAnalyzerTask = null;
cachedCompiler.dumpInfoTask = null;

Powered by Google App Engine
This is Rietveld 408576698