| Index: pkg/analyzer_cli/lib/src/build_mode.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart
|
| index b68476b8b1a2c7d9d39d70c0612449e657d428dd..3cedc82efbc23a4e3280e91dfeb5096d16739660 100644
|
| --- a/pkg/analyzer_cli/lib/src/build_mode.dart
|
| +++ b/pkg/analyzer_cli/lib/src/build_mode.dart
|
| @@ -169,7 +169,13 @@ class BuildMode {
|
| .toList());
|
|
|
| // Prepare the analysis context.
|
| - _createContext();
|
| + try {
|
| + _createContext();
|
| + } on ConflictingSummaryException catch (e) {
|
| + errorSink.writeln('$e');
|
| + io.exitCode = ErrorSeverity.ERROR.ordinal;
|
| + return ErrorSeverity.ERROR;
|
| + }
|
|
|
| // Add sources.
|
| ChangeSet changeSet = new ChangeSet();
|
|
|