| 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 55812c0c6d932efd846d82de38cd91cafe254e7c..54b242baf489777c0a8e3fa220242a7bd3ed32b2 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| @@ -256,9 +256,6 @@ void compile(List<String> argv) {
|
| new OptionHandler('--analyze-only', setAnalyzeOnly),
|
| new OptionHandler('--analyze-signatures-only', passThrough),
|
| new OptionHandler('--disable-native-live-type-analysis', passThrough),
|
| - new OptionHandler('--reject-deprecated-language-features', passThrough),
|
| - new OptionHandler('--report-sdk-use-of-deprecated-language-features',
|
| - passThrough),
|
| new OptionHandler('--categories=.*', setCategories),
|
| new OptionHandler('--global-js-name=.*', checkGlobalName),
|
| new OptionHandler('--disable-type-inference', passThrough),
|
| @@ -526,19 +523,6 @@ be removed in a future version:
|
| Disable the optimization that removes unused native types from dart:html
|
| and related libraries.
|
|
|
| - --reject-deprecated-language-features
|
| - Reject deprecated language features. Without this option, the
|
| - compiler will accept language features that are no longer valid
|
| - according to The Dart Programming Language Specification, version
|
| - 0.12, M1.
|
| -
|
| - --report-sdk-use-of-deprecated-language-features
|
| - Report use of deprecated features in Dart platform libraries.
|
| - Without this option, the compiler will silently accept use of
|
| - deprecated language features from these libraries. The option
|
| - --reject-deprecated-language-features controls if these usages are
|
| - reported as errors or warnings.
|
| -
|
| --categories=<categories>
|
| A comma separated list of allowed library categories. The default
|
| is "Client". Possible categories can be seen by providing an
|
|
|