Index: pkg/front_end/test/src/incremental/kernel_driver_test.dart |
diff --git a/pkg/front_end/test/src/incremental/kernel_driver_test.dart b/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
index 33aad3032c9f2643fced9b60be296e7f51c4f003..4ee2430beed8f0bf5e868f1ca9e0d17ebf5052d8 100644 |
--- a/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
+++ b/pkg/front_end/test/src/incremental/kernel_driver_test.dart |
@@ -15,6 +15,7 @@ import 'package:kernel/binary/ast_from_binary.dart'; |
import 'package:kernel/target/targets.dart'; |
import 'package:kernel/text/ast_to_text.dart'; |
import 'package:kernel/verifier.dart'; |
+import 'package:package_config/src/packages_impl.dart'; |
import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -601,7 +602,8 @@ import 'b.dart'; |
void _createDriver( |
{Map<String, Uri> packages, KernelDriverFileAddedFn fileAddedFn}) { |
Map<String, Uri> dartLibraries = createSdkFiles(fileSystem); |
- var uriTranslator = new UriTranslatorImpl(dartLibraries, {}, packages); |
+ var uriTranslator = |
+ new UriTranslatorImpl(dartLibraries, {}, new MapPackages(packages)); |
driver = new KernelDriver( |
new PerformanceLog(null), |
fileSystem, |