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 60a6dbc21b8476070bfc547d2d29e30a47715095..618d2edbee72b373ece9494ee3cd66f5cb2c97f7 100644 |
--- a/pkg/analyzer/lib/src/task/options.dart |
+++ b/pkg/analyzer/lib/src/task/options.dart |
@@ -514,14 +514,6 @@ class _OptionsProcessor { |
context.analysisOptions = options; |
} |
} |
- if (feature == AnalyzerOptions.enableGenericMethods) { |
- if (isTrue(value)) { |
- AnalysisOptionsImpl options = |
- new AnalysisOptionsImpl.from(context.analysisOptions); |
- options.enableGenericMethods = true; |
- context.analysisOptions = options; |
- } |
- } |
} |
void setLanguageOptions(AnalysisContext context, Object configs) { |
@@ -570,8 +562,6 @@ class _OptionsProcessor { |
options.enableInitializingFormalAccess = boolValue; |
} else if (feature == AnalyzerOptions.enableSuperMixins) { |
options.enableSuperMixins = boolValue; |
- } else if (feature == AnalyzerOptions.enableGenericMethods) { |
- options.enableGenericMethods = boolValue; |
} |
} |
} |