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

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

Issue 21242002: Retain elements a finer granularity than library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 years, 4 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: dart/sdk/lib/_internal/compiler/implementation/dart2js.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart b/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart
index 54b242baf489777c0a8e3fa220242a7bd3ed32b2..6b24057072bc422b56d77c20a3cdf978ccef8bf4 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/dart2js.dart
@@ -259,6 +259,7 @@ void compile(List<String> argv) {
new OptionHandler('--categories=.*', setCategories),
new OptionHandler('--global-js-name=.*', checkGlobalName),
new OptionHandler('--disable-type-inference', passThrough),
+ new OptionHandler('--terse', passThrough),
// The following two options must come last.
new OptionHandler('-.*', (String argument) {
@@ -500,6 +501,10 @@ Supported options:
--enable-diagnostic-colors
Add colors to diagnostic messages.
+ --terse
+ Emit diagnostics without suggestions for how to get rid of the diagnosed
+ problems.
+
The following options are only used for compiler development and may
be removed in a future version:

Powered by Google App Engine
This is Rietveld 408576698