Index: tests/compiler/dart2js/mirrors_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_test.dart b/tests/compiler/dart2js/mirrors_test.dart |
index 2b5d9924dcf533d8c5f265a656ce7ab4cac35b95..2c7b09fe0867b104215f2a6ba43a927287d0c88d 100644 |
--- a/tests/compiler/dart2js/mirrors_test.dart |
+++ b/tests/compiler/dart2js/mirrors_test.dart |
@@ -47,8 +47,7 @@ main() { |
Uri libUri = scriptUri.resolve('../../../sdk/'); |
Uri inputUri = scriptUri.resolve('mirrors_helper.dart'); |
var provider = new CompilerSourceFileProvider(); |
- var diagnosticHandler = |
- new FormattingDiagnosticHandler(provider).diagnosticHandler; |
+ var diagnosticHandler = new FormattingDiagnosticHandler(provider); |
asyncStart(); |
var result = analyze([inputUri], libUri, packageRoot, |
provider.readStringFromUri, diagnosticHandler, |