Index: pkg/compiler/lib/src/compiler.dart |
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart |
index bc7dfe0e3982787e6b721aac2a3806c6eb67e300..b371ba6b3cc75c4fb83f9b66551e66e66b751141 100644 |
--- a/pkg/compiler/lib/src/compiler.dart |
+++ b/pkg/compiler/lib/src/compiler.dart |
@@ -1057,7 +1057,7 @@ abstract class Compiler implements LibraryLoaderListener { |
List<DiagnosticMessage> infos, api.Diagnostic kind); |
void reportCrashInUserCode(String message, exception, stackTrace) { |
- _reporter.onCrashInUserCode(message, exception, stackTrace); |
+ reporter.onCrashInUserCode(message, exception, stackTrace); |
} |
/// Messages for which compile-time errors are reported but compilation |
@@ -1771,6 +1771,7 @@ class _CompilerDiagnosticReporter extends DiagnosticReporter { |
throw error; |
} |
+ @override |
void onCrashInUserCode(String message, exception, stackTrace) { |
hasCrashed = true; |
print('$message: ${tryToString(exception)}'); |