| Index: pkg/compiler/lib/src/mirrors/analyze.dart
|
| diff --git a/pkg/compiler/lib/src/mirrors/analyze.dart b/pkg/compiler/lib/src/mirrors/analyze.dart
|
| index 8932fff4d8e772813402c52c8a2450c1c1e4383e..44bd859ed2349ac8e868850441c0262016919dc8 100644
|
| --- a/pkg/compiler/lib/src/mirrors/analyze.dart
|
| +++ b/pkg/compiler/lib/src/mirrors/analyze.dart
|
| @@ -26,9 +26,7 @@ Future<MirrorSystem> analyze(List<Uri> libraries,
|
| Uri packageRoot,
|
| api.CompilerInputProvider inputProvider,
|
| api.DiagnosticHandler diagnosticHandler,
|
| - [List<String> options = const <String>[],
|
| - Uri packageConfig,
|
| - api.PackagesDiscoveryProvider findPackages]) {
|
| + [List<String> options = const <String>[]]) {
|
| if (!libraryRoot.path.endsWith("/")) {
|
| throw new ArgumentError("libraryRoot must end with a /");
|
| }
|
| @@ -56,12 +54,9 @@ Future<MirrorSystem> analyze(List<Uri> libraries,
|
| Compiler compiler = new apiimpl.Compiler(inputProvider,
|
| null,
|
| internalDiagnosticHandler,
|
| - libraryRoot,
|
| - packageRoot,
|
| + libraryRoot, packageRoot,
|
| options,
|
| - const {},
|
| - packageConfig,
|
| - findPackages);
|
| + const {});
|
| compiler.librariesToAnalyzeWhenRun = libraries;
|
| return compiler.run(null).then((bool success) {
|
| if (success && !compilationFailed) {
|
|
|