Index: pkg/analyzer/lib/src/task/options.dart |
diff --git a/pkg/analyzer/lib/src/task/options.dart b/pkg/analyzer/lib/src/task/options.dart |
index 5ed99dca065df59afb1f0c83daa10bc49901bf7c..4047b3b84c244a407b79b3e8e82179c711eed3dd 100644 |
--- a/pkg/analyzer/lib/src/task/options.dart |
+++ b/pkg/analyzer/lib/src/task/options.dart |
@@ -498,14 +498,6 @@ class _OptionsProcessor { |
context.analysisOptions = options; |
} |
} |
- if (feature == AnalyzerOptions.enableAsync) { |
- if (isFalse(value)) { |
- AnalysisOptionsImpl options = |
- new AnalysisOptionsImpl.from(context.analysisOptions); |
- options.enableAsync = false; |
- context.analysisOptions = options; |
- } |
- } |
if (feature == AnalyzerOptions.enableStrictCallChecks) { |
if (isTrue(value)) { |
AnalysisOptionsImpl options = |
@@ -574,8 +566,6 @@ class _OptionsProcessor { |
if (boolValue != null) { |
if (feature == AnalyzerOptions.enableAssertInitializer) { |
options.enableAssertInitializer = boolValue; |
- } else if (feature == AnalyzerOptions.enableAsync) { |
- options.enableAsync = boolValue; |
} else if (feature == AnalyzerOptions.enableInitializingFormalAccess) { |
options.enableInitializingFormalAccess = boolValue; |
} else if (feature == AnalyzerOptions.enableSuperMixins) { |