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

Unified Diff: pkg/analyzer/lib/src/command_line/arguments.dart

Issue 2692203010: Remove older deprecated flags; more cleanup to the cli help args. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | pkg/analyzer_cli/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/command_line/arguments.dart
diff --git a/pkg/analyzer/lib/src/command_line/arguments.dart b/pkg/analyzer/lib/src/command_line/arguments.dart
index ceb84360201f0ea737504b253e9598306a8b6e0c..fe113b69011cf64fff20c4a85c8d79b7bfbba6be 100644
--- a/pkg/analyzer/lib/src/command_line/arguments.dart
+++ b/pkg/analyzer/lib/src/command_line/arguments.dart
@@ -165,11 +165,6 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) {
hide: ddc);
parser.addOption(sdkSummaryPathOption,
help: 'The path to the Dart SDK summary file.', hide: hide);
-// parser.addFlag(enableNullAwareOperatorsFlag, // 'enable-null-aware-operators'
-// help: 'Enable support for null-aware operators (DEP 9).',
-// defaultsTo: false,
-// negatable: false,
-// hide: hide || ddc);
parser.addFlag(enableStrictCallChecksFlag,
help: 'Fix issue 21938.',
defaultsTo: false,
@@ -187,11 +182,6 @@ void defineAnalysisArguments(ArgParser parser, {bool hide: true, ddc: false}) {
defaultsTo: false,
negatable: false,
hide: hide);
-// parser.addFlag('enable_type_checks',
-// help: 'Check types in constant evaluation.',
-// defaultsTo: false,
-// negatable: false,
-// hide: hide || ddc);
}
/**
« no previous file with comments | « no previous file | pkg/analyzer_cli/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698