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

Unified Diff: dart/lib/compiler/implementation/diagnostic_listener.dart

Issue 11088003: Fix warnings in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix long line Created 8 years, 2 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: dart/lib/compiler/implementation/diagnostic_listener.dart
diff --git a/dart/lib/compiler/implementation/diagnostic_listener.dart b/dart/lib/compiler/implementation/diagnostic_listener.dart
index 0fbc58b9209fcc30ae95958ca967f0f821a329d0..139871cca2bad52ca92984bb0cff149cf76e2cf5 100644
--- a/dart/lib/compiler/implementation/diagnostic_listener.dart
+++ b/dart/lib/compiler/implementation/diagnostic_listener.dart
@@ -13,4 +13,8 @@ abstract class DiagnosticListener {
void internalError(String message,
[Node node, Token token, HInstruction instruction,
Element element]);
+
+ SourceSpan spanFromNode(Node node, [Uri uri]);
+
+ void reportMessage(SourceSpan span, Diagnostic message, api.Diagnostic kind);
}
« no previous file with comments | « dart/lib/compiler/implementation/dart_backend/utils.dart ('k') | dart/lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698