| 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 50b8bca742861815cbf1125130b7bf6da08e7c00..649eb55f5f25cf7e6c5f4ac7958ca7de5c8bffd2 100644
|
| --- a/pkg/analyzer/lib/src/generated/engine.dart
|
| +++ b/pkg/analyzer/lib/src/generated/engine.dart
|
| @@ -13,7 +13,7 @@ import 'dart:collection';
|
|
|
| import 'package:analyzer/src/cancelable_future.dart';
|
| import 'package:analyzer/src/context/cache.dart' as cache;
|
| -import 'package:analyzer/src/context/context.dart' as cache;
|
| +import 'package:analyzer/src/context/context.dart' as newContext;
|
| import 'package:analyzer/src/generated/incremental_resolution_validator.dart';
|
| import 'package:analyzer/src/plugin/engine_plugin.dart';
|
| import 'package:analyzer/src/services/lint.dart';
|
| @@ -5766,8 +5766,8 @@ class AnalysisEngine {
|
| /**
|
| * The partition manager being used to manage the shared partitions.
|
| */
|
| - final cache.PartitionManager partitionManager_new =
|
| - new cache.PartitionManager();
|
| + final newContext.PartitionManager partitionManager_new =
|
| + new newContext.PartitionManager();
|
|
|
| /**
|
| * A flag indicating whether the (new) task model should be used to perform
|
| @@ -5837,6 +5837,9 @@ class AnalysisEngine {
|
| * Create and return a new context in which analysis can be performed.
|
| */
|
| AnalysisContext createAnalysisContext() {
|
| + if (useTaskModel) {
|
| + return new newContext.AnalysisContextImpl();
|
| + }
|
| return new AnalysisContextImpl();
|
| }
|
|
|
|
|