Index: pkg/front_end/test/fasta/testing/suite.dart |
diff --git a/pkg/front_end/test/fasta/testing/suite.dart b/pkg/front_end/test/fasta/testing/suite.dart |
index 0230a6ece934469634258566b43ac93358be8cb7..70764cd81b9ffc83902ca996f7bb081c2c47300c 100644 |
--- a/pkg/front_end/test/fasta/testing/suite.dart |
+++ b/pkg/front_end/test/fasta/testing/suite.dart |
@@ -10,11 +10,13 @@ import 'dart:io' show File; |
import 'dart:convert' show JSON; |
-import 'package:front_end/physical_file_system.dart'; |
+import 'package:front_end/physical_file_system.dart' show PhysicalFileSystem; |
+ |
import 'package:front_end/src/fasta/testing/validating_instrumentation.dart' |
show ValidatingInstrumentation; |
-import 'package:front_end/src/fasta/testing/patched_sdk_location.dart'; |
+import 'package:front_end/src/fasta/testing/patched_sdk_location.dart' |
+ show computeDartVm, computePatchedSdk; |
import 'package:kernel/ast.dart' show Program; |
@@ -141,8 +143,8 @@ class FastaContext extends ChainContext { |
Uri sdk = await computePatchedSdk(); |
Uri vm = computeDartVm(sdk); |
Uri packages = Uri.base.resolve(".packages"); |
- TranslateUri uriTranslator = |
- await TranslateUri.parse(PhysicalFileSystem.instance, packages); |
+ TranslateUri uriTranslator = await TranslateUri |
+ .parse(PhysicalFileSystem.instance, sdk, packages: packages); |
bool strongMode = environment.containsKey(STRONG_MODE); |
bool updateExpectations = environment["updateExpectations"] == "true"; |
bool updateComments = environment["updateComments"] == "true"; |