| Index: dart/site/try/src/caching_compiler.dart
|
| diff --git a/dart/site/try/src/caching_compiler.dart b/dart/site/try/src/caching_compiler.dart
|
| index 9c1f19208bfc0762fb73ff984e067895ae43d6c3..30c1c3d106e1ef41bca52b0474851ca12936ba75 100644
|
| --- a/dart/site/try/src/caching_compiler.dart
|
| +++ b/dart/site/try/src/caching_compiler.dart
|
| @@ -69,11 +69,12 @@ Compiler reuseCompiler(
|
| Compiler compiler = cachedCompiler;
|
| if (compiler == null ||
|
| compiler.libraryRoot != libraryRoot ||
|
| + !compiler.hasIncrementalSupport ||
|
| compiler.hasCrashed ||
|
| compiler.compilerWasCancelled ||
|
| compiler.enqueuer.resolution.hasEnqueuedEverything ||
|
| compiler.deferredLoadTask.splitProgram) {
|
| - if (compiler != null) {
|
| + if (compiler != null && compiler.hasIncrementalSupport) {
|
| print('***FLUSH***');
|
| if (compiler.hasCrashed) {
|
| print('Unable to reuse compiler due to crash.');
|
|
|