| Index: pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart b/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart
|
| index bc8b6cc751b8a9f246427051b20aaba156f594a2..db4a50ae6363f79562585fc9653d162d5f9d8167 100644
|
| --- a/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart
|
| +++ b/pkg/analysis_server/lib/src/services/correction/statement_analyzer.dart
|
| @@ -54,7 +54,9 @@ class StatementAnalyzer extends SelectionAnalyzer {
|
| * Records fatal error with given message and [Location].
|
| */
|
| void invalidSelection(String message, [Location context]) {
|
| - _status.addFatalError(message, context);
|
| + if (!_status.hasFatalError) {
|
| + _status.addFatalError(message, context);
|
| + }
|
| reset();
|
| }
|
|
|
|
|