| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index d567bbaed7ccc89da0e7b15c5ed6d35bc4ee817e..183636557dfbcc2c344545ab38b9302a31551cec 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -851,7 +851,7 @@ abstract class Compiler implements LibraryLoaderListener {
|
| }
|
| }
|
|
|
| - if (options.resolveOnly) {
|
| + if (options.resolveOnly && !compilationFailed) {
|
| reporter.log('Serializing to ${options.resolutionOutput}');
|
| serialization
|
| .serializeToSink(userOutputProvider.createEventSink('', 'data'),
|
|
|