Index: pkg/analyzer/lib/src/generated/engine.dart |
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart |
index 2a75edff0430c927b21c0eb45dbf29919eff8eda..96333ad7d93e0c0c7f3b0b23225932e7d5dccc85 100644 |
--- a/pkg/analyzer/lib/src/generated/engine.dart |
+++ b/pkg/analyzer/lib/src/generated/engine.dart |
@@ -1062,6 +1062,7 @@ abstract class AnalysisOptions { |
/** |
* Return `true` to enable interface libraries (DEP 40). |
*/ |
+ @deprecated |
bool get enableConditionalDirectives; |
/** |
@@ -1201,7 +1202,10 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
/** |
* A flag indicating whether interface libraries are to be supported (DEP 40). |
*/ |
- bool enableConditionalDirectives = false; |
+ bool get enableConditionalDirectives => true; |
+ |
+ @deprecated |
+ void set enableConditionalDirectives(_) {} |
/** |
* A flag indicating whether generic methods are to be supported (DEP 22). |
@@ -1297,7 +1301,6 @@ class AnalysisOptionsImpl implements AnalysisOptions { |
dart2jsHint = options.dart2jsHint; |
enableAssertMessage = options.enableAssertMessage; |
enableAsync = options.enableAsync; |
- enableConditionalDirectives = options.enableConditionalDirectives; |
enableStrictCallChecks = options.enableStrictCallChecks; |
enableGenericMethods = options.enableGenericMethods; |
enableSuperMixins = options.enableSuperMixins; |