| Index: pkg/compiler/lib/src/apiimpl.dart
|
| diff --git a/pkg/compiler/lib/src/apiimpl.dart b/pkg/compiler/lib/src/apiimpl.dart
|
| index 33f2e7f9dc01a49a15aa4e8585adf97d4d7955d2..3bd085f8f927f0f4da93ba1bd3c8e1af3b8db10a 100644
|
| --- a/pkg/compiler/lib/src/apiimpl.dart
|
| +++ b/pkg/compiler/lib/src/apiimpl.dart
|
| @@ -499,13 +499,6 @@ class CompilerImpl extends Compiler {
|
| void reportDiagnostic(DiagnosticMessage message,
|
| List<DiagnosticMessage> infos,
|
| api.Diagnostic kind) {
|
| - // TODO(johnniwinther): Move this to the [DiagnosticReporter]?
|
| - if (kind == api.Diagnostic.ERROR ||
|
| - kind == api.Diagnostic.CRASH ||
|
| - (reporter.options.fatalWarnings &&
|
| - kind == api.Diagnostic.WARNING)) {
|
| - compilationFailed = true;
|
| - }
|
| _reportDiagnosticMessage(message, kind);
|
| for (DiagnosticMessage info in infos) {
|
| _reportDiagnosticMessage(info, api.Diagnostic.INFO);
|
|
|