Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: tests/compiler/dart2js/message_kind_helper.dart

Issue 2939063002: Strong mode cleaning of many dart2js tests. (Closed)
Patch Set: Use ClassElement. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698