| Index: pkg/analyzer_cli/lib/src/options.dart
|
| diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart
|
| index fc778f471d57a7d149805238dd19f4bfc0b35f65..3f26109e5dc6ab852debfab02c78d52ebe97ea26 100644
|
| --- a/pkg/analyzer_cli/lib/src/options.dart
|
| +++ b/pkg/analyzer_cli/lib/src/options.dart
|
| @@ -80,9 +80,6 @@ class CommandLineOptions {
|
| /// Whether to display version information
|
| final bool displayVersion;
|
|
|
| - /// Whether to enable conditional directives (DEP 40).
|
| - final bool enableConditionalDirectives;
|
| -
|
| /// Whether to enable null-aware operators (DEP 9).
|
| final bool enableNullAwareOperators;
|
|
|
| @@ -166,7 +163,6 @@ class CommandLineOptions {
|
| analysisOptionsFile = args['options'],
|
| disableHints = args['no-hints'],
|
| displayVersion = args['version'],
|
| - enableConditionalDirectives = args['enable-conditional-directives'],
|
| enableNullAwareOperators = args['enable-null-aware-operators'],
|
| enableStrictCallChecks = args['enable-strict-call-checks'],
|
| enableSuperMixins = args['supermixin'],
|
| @@ -419,7 +415,8 @@ class CommandLineOptions {
|
| negatable: false,
|
| hide: true)
|
| ..addFlag('enable-conditional-directives',
|
| - help: 'Enable support for conditional directives (DEP 40).',
|
| + help:
|
| + 'deprecated -- Enable support for conditional directives (DEP 40).',
|
| defaultsTo: false,
|
| negatable: false,
|
| hide: true)
|
| @@ -434,7 +431,7 @@ class CommandLineOptions {
|
| negatable: false,
|
| hide: true)
|
| ..addFlag('enable-new-task-model',
|
| - help: 'Ennable new task model.',
|
| + help: 'deprecated -- Ennable new task model.',
|
| defaultsTo: false,
|
| negatable: false,
|
| hide: true)
|
|
|