Index: tests/compiler/dart2js/exit_code_test.dart |
diff --git a/tests/compiler/dart2js/exit_code_test.dart b/tests/compiler/dart2js/exit_code_test.dart |
index 3c7b2d9609da6282e618728702d35b1f460a743b..ff419c7fce67db29d8626b60a6c6ec9becb404c3 100644 |
--- a/tests/compiler/dart2js/exit_code_test.dart |
+++ b/tests/compiler/dart2js/exit_code_test.dart |
@@ -137,10 +137,11 @@ class TestDiagnosticReporter extends DiagnosticReporterWrapper { |
} |
class TestScanner extends ScannerTask { |
- TestScanner(TestCompiler compiler) |
- : super(compiler, compiler.dietParser); |
+ final TestCompiler compiler; |
- TestCompiler get compiler => super.compiler; |
+ TestScanner(TestCompiler compiler) |
+ : compiler = compiler, |
+ super(compiler.dietParser, compiler.reporter, compiler.measurer); |
void scanElements(CompilationUnitElement compilationUnit) { |
compiler.test('ScannerTask.scanElements'); |