Index: pkg/front_end/lib/src/fasta/compile_platform.dart |
diff --git a/pkg/front_end/lib/src/fasta/compile_platform.dart b/pkg/front_end/lib/src/fasta/compile_platform.dart |
index 9be271f72e20219d286bf9409599018cc0da22db..878970adaf0e48c5d7195b0e55b7a2ff45c1cebd 100644 |
--- a/pkg/front_end/lib/src/fasta/compile_platform.dart |
+++ b/pkg/front_end/lib/src/fasta/compile_platform.dart |
@@ -62,12 +62,12 @@ Future compilePlatformInternal( |
} |
TranslateUri uriTranslator = |
- await TranslateUri.parse(patchedSdk, c.options.packages); |
+ await TranslateUri.parse(c.fileSystem, patchedSdk, c.options.packages); |
ticker.logMs("Read packages file"); |
DillTarget dillTarget = new DillTarget(ticker, uriTranslator); |
- KernelTarget kernelTarget = new KernelTarget( |
- dillTarget, uriTranslator, c.options.strongMode, c.uriToSource); |
+ KernelTarget kernelTarget = new KernelTarget(c.fileSystem, dillTarget, |
+ uriTranslator, c.options.strongMode, c.uriToSource); |
kernelTarget.read(Uri.parse("dart:core")); |
await dillTarget.writeOutline(null); |