| Index: pkg/analyzer/lib/src/context/context.dart
|
| diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
|
| index 79243b947bd392a445ce32a16676e0e38f04e716..7c2971a643aacb663e903e97e1485d722ec33f23 100644
|
| --- a/pkg/analyzer/lib/src/context/context.dart
|
| +++ b/pkg/analyzer/lib/src/context/context.dart
|
| @@ -375,9 +375,8 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| /**
|
| * Make _pendingFutureSources available to unit tests.
|
| */
|
| - HashMap<AnalysisTarget,
|
| - List<PendingFuture>> get pendingFutureSources_forTesting =>
|
| - _pendingFutureTargets;
|
| + HashMap<AnalysisTarget, List<PendingFuture>>
|
| + get pendingFutureSources_forTesting => _pendingFutureTargets;
|
|
|
| @override
|
| List<Source> get prioritySources => _priorityOrder;
|
| @@ -619,14 +618,13 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| !AnalysisEngine.isDartFileName(librarySource.shortName)) {
|
| return new CancelableFuture.error(new AnalysisNotScheduledError());
|
| }
|
| - return new AnalysisFutureHelper<CompilationUnit>(
|
| - this,
|
| - new LibrarySpecificUnit(librarySource, unitSource),
|
| - RESOLVED_UNIT).computeAsync();
|
| + return new AnalysisFutureHelper<CompilationUnit>(this,
|
| + new LibrarySpecificUnit(librarySource, unitSource), RESOLVED_UNIT)
|
| + .computeAsync();
|
| }
|
|
|
| @override
|
| - Object /*V*/ computeResult(
|
| + Object /*=V*/ computeResult /*<V>*/ (
|
| AnalysisTarget target, ResultDescriptor /*<V>*/ descriptor) {
|
| // Make sure we are not trying to invoke the task model in a reentrant
|
| // fashion.
|
|
|