Index: pkg/kernel/test/baseline_tester.dart |
diff --git a/pkg/kernel/test/baseline_tester.dart b/pkg/kernel/test/baseline_tester.dart |
index e79251b4d3898f38f20abf33a07ee458ba0bf508..5ec746ee7db78045e36d289cea70c504e472b9d2 100644 |
--- a/pkg/kernel/test/baseline_tester.dart |
+++ b/pkg/kernel/test/baseline_tester.dart |
@@ -44,15 +44,15 @@ void runBaselineTests(String folderName, TestTarget target) { |
String filenameOfBaseline = '$outputDirectory/$shortName.baseline.txt'; |
String filenameOfCurrent = '$outputDirectory/$shortName.current.txt'; |
- var repository = new Repository(); |
+ var program = new Program(); |
var loader = await batch.getLoader( |
- repository, |
+ program, |
new DartOptions( |
strongMode: target.strongMode, |
sdk: sdkDirectory, |
declaredVariables: target.extraDeclaredVariables, |
applicationRoot: applicationRoot)); |
- var program = loader.loadProgram(dartPath, target: target); |
+ loader.loadProgram(dartPath, target: target); |
verifyProgram(program); |
var errors = <String>[]; |
errors.addAll(target.performModularTransformations(program)); |