Index: tests/compiler/dart2js/parser_helper.dart |
diff --git a/tests/compiler/dart2js/parser_helper.dart b/tests/compiler/dart2js/parser_helper.dart |
index 94c3b5760a4c5fa182f7faf1c35e6d22b8a6face..348cbd2f23cf41af8ea66cb60bd569d316a09feb 100644 |
--- a/tests/compiler/dart2js/parser_helper.dart |
+++ b/tests/compiler/dart2js/parser_helper.dart |
@@ -40,7 +40,7 @@ class LoggerCanceler implements DiagnosticListener { |
log(message); |
} |
- SourceSpan spanFromSpannable(node, [uri]) { |
+ SourceSpan spanFromSpannable(node) { |
throw 'unsupported operation'; |
} |
@@ -52,6 +52,10 @@ class LoggerCanceler implements DiagnosticListener { |
log(new Message(errorCode, arguments, false)); |
} |
+ void reportWarningCode(Spannable node, MessageKind errorCode, [Map arguments]) { |
floitsch
2014/02/19 14:57:40
long line.
Why do we need a reportWarningCode?
Sh
Johnni Winther
2014/02/20 09:35:40
Nice catch. Renamed.
|
+ log(new Message(errorCode, arguments, false)); |
+ } |
+ |
void reportInfo(Spannable node, MessageKind errorCode, [Map arguments]) { |
log(new Message(errorCode, arguments, false)); |
} |