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 12089cfcb91c7005ef602416cf4d52c6d70e7aa8..9d60632dd3a5bc82b4cb7f5b70f883e279aedb72 100644 |
--- a/tests/compiler/dart2js/message_kind_helper.dart |
+++ b/tests/compiler/dart2js/message_kind_helper.dart |
@@ -114,7 +114,7 @@ Future<Compiler> check(MessageTemplate template, Compiler cachedCompiler) { |
} |
} |
Expect.isTrue(messageFound, '"$pattern" does not match any in $messages'); |
- Expect.isFalse(compiler.hasCrashed); |
+ Expect.isFalse(compiler.reporter.hasCrashed); |
if (!unexpectedMessages.isEmpty) { |
for (String message in unexpectedMessages) { |
print("Unexpected message: $message"); |
@@ -129,13 +129,13 @@ Future<Compiler> check(MessageTemplate template, Compiler cachedCompiler) { |
bool pendingStuff = false; |
for (var e in compiler.resolver.pendingClassesToBePostProcessed) { |
pendingStuff = true; |
- compiler.reportInfo( |
+ compiler.reporter.reportInfo( |
e, MessageKind.GENERIC, |
{'text': 'Pending class to be post-processed.'}); |
} |
for (var e in compiler.resolver.pendingClassesToBeResolved) { |
pendingStuff = true; |
- compiler.reportInfo( |
+ compiler.reporter.reportInfo( |
e, MessageKind.GENERIC, |
{'text': 'Pending class to be resolved.'}); |
} |