Index: pkg/kernel/test/closures/suite.dart |
diff --git a/pkg/kernel/test/closures/suite.dart b/pkg/kernel/test/closures/suite.dart |
index dd4419d4d8433f2f06bb5ce4416c1d5d7d47a1b2..d4d4a510be29a13d5ba609c53581e27f78186d9a 100644 |
--- a/pkg/kernel/test/closures/suite.dart |
+++ b/pkg/kernel/test/closures/suite.dart |
@@ -93,9 +93,7 @@ class FastaCompile |
Program platform = await context.loadPlatform(); |
Ticker ticker = new Ticker(); |
DillTarget dillTarget = new DillTarget(ticker, context.uriTranslator); |
- dillTarget.loader |
- ..input = Uri.parse("org.dartlang:platform") // Make up a name. |
- ..setProgram(platform); |
+ dillTarget.loader.appendLibraries(platform); |
KernelTarget sourceTarget = new KernelTarget(PhysicalFileSystem.instance, |
dillTarget, context.uriTranslator, context.strongMode); |