Index: tests/compiler/dart2js/diagnostic_helper.dart |
diff --git a/tests/compiler/dart2js/diagnostic_helper.dart b/tests/compiler/dart2js/diagnostic_helper.dart |
index c9b19e1feaf977ccb0cf9f529406c3dde5046343..d87579fafc542899795d70bbfa2a0b59190e87a3 100644 |
--- a/tests/compiler/dart2js/diagnostic_helper.dart |
+++ b/tests/compiler/dart2js/diagnostic_helper.dart |
@@ -36,11 +36,6 @@ class CollectedMessage { |
class DiagnosticCollector implements CompilerDiagnostics { |
List<CollectedMessage> messages = <CollectedMessage>[]; |
- void call(Uri uri, int begin, int end, String message, Diagnostic kind) { |
- throw ''; |
- report(null, uri, begin, end, message, kind); |
- } |
- |
@override |
void report(Message message, |
Uri uri, int begin, int end, String text, Diagnostic kind) { |