Index: dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
index 8e1b7e91a0eff27caf73f0272ab3cf8e3baa34d4..e84d45c15b1f15e92a1fdf2b013d2f8646884079 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
@@ -35,9 +35,14 @@ class Compiler extends leg.Compiler { |
emitJavaScript: !hasOption(options, '--output-type=dart'), |
disallowUnsafeEval: hasOption(options, '--disallow-unsafe-eval'), |
analyzeAll: hasOption(options, '--analyze-all'), |
+ rejectDeprecatedFeatures: |
+ hasOption(options, '--reject-deprecated-language-features'), |
+ checkDeprecationInSdk: |
+ hasOption(options, |
+ '--report-sdk-use-of-deprecated-language-features'), |
strips: getStrips(options), |
enableConcreteTypeInference: |
- hasOption(options, '--enable-concrete-type-inference')) { |
+ hasOption(options, '--enable-concrete-type-inference')) { |
if (!libraryRoot.path.endsWith("/")) { |
throw new ArgumentError("libraryRoot must end with a /"); |
} |