Index: pkg/front_end/lib/src/fasta/outline.dart |
diff --git a/pkg/front_end/lib/src/fasta/outline.dart b/pkg/front_end/lib/src/fasta/outline.dart |
index 0604a26958585c8e60c3ebc5888dba450261e27a..1b14e2a565d49b3009debb3f5d0af58a5196b361 100644 |
--- a/pkg/front_end/lib/src/fasta/outline.dart |
+++ b/pkg/front_end/lib/src/fasta/outline.dart |
@@ -92,7 +92,8 @@ class CompileTask { |
} |
Future<KernelTarget> buildOutline([Uri output]) async { |
- TranslateUri uriTranslator = await TranslateUri.parse(c.options.sdk); |
+ TranslateUri uriTranslator = |
+ await TranslateUri.parse(c.options.sdk, c.options.packages); |
ticker.logMs("Read packages file"); |
DillTarget dillTarget = new DillTarget(ticker, uriTranslator); |
KernelTarget kernelTarget = createKernelTarget(dillTarget, uriTranslator); |