Index: tests/compiler/dart2js/message_kind_helper.dart |
diff --git a/tests/compiler/dart2js/message_kind_helper.dart b/tests/compiler/dart2js/message_kind_helper.dart |
index 8e348ac832cf7b15c6dbcde8ea25515cf54848fd..86e608106f7127eecdf902f114e41ff2f69ae23e 100644 |
--- a/tests/compiler/dart2js/message_kind_helper.dart |
+++ b/tests/compiler/dart2js/message_kind_helper.dart |
@@ -113,7 +113,7 @@ Future<Compiler> check(MessageTemplate template, Compiler cachedCompiler) { |
messageFound, |
'${template.kind}} does not match any in\n ' |
'${messages.join('\n ')}'); |
- var reporter = compiler.reporter; |
+ dynamic reporter = compiler.reporter; |
Expect.isFalse(reporter.hasCrashed); |
if (!unexpectedMessages.isEmpty) { |
for (CollectedMessage message in unexpectedMessages) { |