| Index: pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/analysis/driver.dart b/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| index fdb01cb6064e6b4f71caba5eb3cde3f22f10c069..9c7d00664b41b7425a8776e895d20af01642de45 100644
|
| --- a/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| +++ b/pkg/analyzer/lib/src/dart/analysis/driver.dart
|
| @@ -44,6 +44,13 @@ import 'package:front_end/src/base/performace_logger.dart';
|
| import 'package:front_end/src/byte_store/byte_store.dart';
|
| import 'package:meta/meta.dart';
|
|
|
| +/**
|
| + * TODO(scheglov) We could use generalized Function in [AnalysisDriverTestView],
|
| + * but this breaks `AnalysisContext` and code generation. So, for now let's
|
| + * work around them, and rewrite generators to [AnalysisDriver].
|
| + */
|
| +typedef Future<Null> WorkToWaitAfterComputingResult(String path);
|
| +
|
| /**
|
| * This class computes [AnalysisResult]s for Dart files.
|
| *
|
| @@ -1675,7 +1682,7 @@ class AnalysisDriverTestView {
|
|
|
| int numOfAnalyzedLibraries = 0;
|
|
|
| - Future<Null> Function(String path) workToWaitAfterComputingResult;
|
| + WorkToWaitAfterComputingResult workToWaitAfterComputingResult;
|
|
|
| AnalysisDriverTestView(this.driver);
|
|
|
|
|