| Index: pkg/analysis_server/lib/src/operation/operation_analysis.dart
|
| diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
|
| index c16924a5c96c2db94942014b67a215c4301ce421..6f717216e5e1cde903418e074376d73d662f7f0e 100644
|
| --- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart
|
| +++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
|
| @@ -250,10 +250,12 @@ void sendAnalysisNotificationOverrides(
|
| * Sets the cache size in the given [context] to the given value.
|
| */
|
| void setCacheSize(AnalysisContext context, int cacheSize) {
|
| - AnalysisOptionsImpl options =
|
| - new AnalysisOptionsImpl.from(context.analysisOptions);
|
| - options.cacheSize = cacheSize;
|
| - context.analysisOptions = options;
|
| + // TODO(scheglov) The cache size cannot be changed with task model.
|
| + // TODO(scheglov) Consider removing this function.
|
| +// AnalysisOptionsImpl options =
|
| +// new AnalysisOptionsImpl.from(context.analysisOptions);
|
| +// options.cacheSize = cacheSize;
|
| +// context.analysisOptions = options;
|
| }
|
|
|
| String _computeLibraryName(CompilationUnit unit) {
|
|
|