Index: tests/compiler/dart2js/mirrors/mirrors_reader_test.dart |
diff --git a/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart b/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart |
index 3059fd165bf13995d5af38458f05dbaeb4ea243c..ed8d8fd21ebe0bf69b56f2492bf284c71957c806 100644 |
--- a/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart |
+++ b/tests/compiler/dart2js/mirrors/mirrors_reader_test.dart |
@@ -27,7 +27,8 @@ class SourceMirrorsReader extends MirrorsReader { |
try { |
return f(); |
} on SpannableAssertionFailure catch (e) { |
- mirrorSystem.compiler.reportAssertionFailure(e); |
+ var reporter = mirrorSystem.compiler.reporter; |
+ reporter.reportAssertionFailure(e); |
rethrow; |
} |
} |