| Index: lib/src/report.dart
|
| diff --git a/lib/src/report.dart b/lib/src/report.dart
|
| index 03686fdc811d3b5c98fb5c7a479de10ccff7bbdb..8c57f349f38ffd732e23d5c97dc8aa89f1c4d7a4 100644
|
| --- a/lib/src/report.dart
|
| +++ b/lib/src/report.dart
|
| @@ -62,7 +62,7 @@ ErrorSeverity _strongModeErrorSeverity(AnalysisError error) {
|
| // Upgrade analyzer warnings to errors.
|
| // TODO(jmesserly: reconcile this with analyzer_cli
|
| var severity = error.errorCode.errorSeverity;
|
| - if (!error.errorCode.name.startsWith('dev_compiler.') &&
|
| + if (!isStrongModeError(error.errorCode) &&
|
| severity == ErrorSeverity.WARNING) {
|
| return ErrorSeverity.ERROR;
|
| }
|
|
|