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

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

Issue 169763003: Update dart2js diagnostics to prepare for filtering. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove optional Uri. Created 6 years, 10 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/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));
}

Powered by Google App Engine
This is Rietveld 408576698