Chromium Code Reviews| Index: pkg/compiler/lib/src/dart2js.dart |
| diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart |
| index 6f3d3fa2f744a1ee56f55859da5c463361fbb01e..bbea8cbad2b0fcd68263f3f209811cca2d61345d 100644 |
| --- a/pkg/compiler/lib/src/dart2js.dart |
| +++ b/pkg/compiler/lib/src/dart2js.dart |
| @@ -296,6 +296,7 @@ Future<api.CompilationResult> compile(List<String> argv) { |
| diagnosticHandler.showWarnings = false; |
| passThrough('--suppress-warnings'); |
| }), |
| + new OptionHandler('--fatal-warnings', passThrough), |
| new OptionHandler('--suppress-hints', |
| (_) => diagnosticHandler.showHints = false), |
| new OptionHandler( |
| @@ -562,6 +563,9 @@ Supported options: |
| --suppress-warnings |
| Do not display any warnings. |
| + --fatal-warnings |
| + Treat warnings as fatal errors. |
|
karlklose
2015/04/14 06:16:27
Change 'fatal errors' -> 'compilation errors'?
Siggi Cherem (dart-lang)
2015/04/14 21:02:59
Done.
|
| + |
| --suppress-hints |
| Do not display any hints. |