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

Unified Diff: lib/src/options.dart

Issue 1420843004: Remove `disableNewTaskModel` failsafe. (Closed) Base URL: https://github.com/dart-lang/analyzer_cli.git@master
Patch Set: Created 5 years, 2 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 | « lib/src/driver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/options.dart
diff --git a/lib/src/options.dart b/lib/src/options.dart
index 966090e036bcf82c422c6f68e5a2e8816a9a5f5f..ee683e2d084e7eb1a190f6aa8a6ff833fa297fc3 100644
--- a/lib/src/options.dart
+++ b/lib/src/options.dart
@@ -39,9 +39,6 @@ class CommandLineOptions {
/// A table mapping the names of defined variables to their values.
final Map<String, String> definedVariables;
- /// Whether to disable the new task model.
- final bool disableNewTaskModel;
-
/// Whether to report hints
final bool disableHints;
@@ -108,7 +105,6 @@ class CommandLineOptions {
this.definedVariables = definedVariables,
analysisOptionsFile = args['options'],
disableHints = args['no-hints'],
- disableNewTaskModel = args['disable-new-task-model'],
displayVersion = args['version'],
enableNullAwareOperators = args['enable-null-aware-operators'],
enableStrictCallChecks = args['enable-strict-call-checks'],
@@ -260,11 +256,6 @@ class CommandLineOptions {
//
// Hidden flags.
//
- ..addFlag('disable-new-task-model',
- help: 'Disable the use of the new task model.',
- defaultsTo: false,
- negatable: false,
- hide: true)
..addFlag('enable-async',
help: 'Enable support for the proposed async feature.',
defaultsTo: false,
« no previous file with comments | « lib/src/driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698