Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: sdk/lib/_internal/compiler/implementation/dart2js.dart

Issue 173713002: Add --hide-package-warnings option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comment Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/dart2js.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart
index 2da85e1cdd82e289694ea10898eaf9e7aca0255a..b44541509d61898caba2c840451aa51e13d98d03 100644
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart
@@ -279,6 +279,7 @@ Future compile(List<String> argv) {
new OptionHandler('--dump-info', passThrough),
new OptionHandler('--disallow-unsafe-eval',
(_) => hasDisallowUnsafeEval = true),
+ new OptionHandler('--hide-package-warnings', passThrough),
new OptionHandler('-D.+=.*', addInEnvironment),
// The following two options must come last.
@@ -557,6 +558,9 @@ Supported options:
Emit diagnostics without suggestions for how to get rid of the diagnosed
problems.
+ --hide-package-warnings
+ Hide warnings and hints generated from packages.
+
The following options are only used for compiler development and may
be removed in a future version:
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/compiler.dart ('k') | tests/compiler/dart2js/hide_package_warnings_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698