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 646dc2a4182fe02111376b987ce08fea06c40c25..f769fcfc1fa117e0b6cac6cabb0524218b71edc2 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart |
@@ -33,9 +33,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'), |
+ omgThisIsALongOptionName: |
karlklose
2012/11/15 10:17:26
omg, this is a nice option name!
ahe
2012/11/16 07:07:36
Yeah, the guy that came up with this is pretty cle
|
+ 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 /"); |
} |