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

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

Issue 21540002: Remove support for remaining deprecated features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: 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

Powered by Google App Engine
This is Rietveld 408576698