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

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

Issue 23684057: Support new import rules. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 7 years, 3 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: sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
diff --git a/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart b/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
index ca73463967135cbfab78e4ee0bdd38500f3ff10f..3b688f9e821fca9fc2801ab664e4819cff157bda 100644
--- a/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
+++ b/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
@@ -21,6 +21,11 @@ abstract class DiagnosticListener {
void reportError(Spannable node, MessageKind errorCode, [Map arguments]);
+ // TODO(johnniwinther): Rename to [reportWarning] when
+ // [Compiler.reportWarning] has been removed.
+ void reportWarningCode(Spannable node, MessageKind errorCode,
+ [Map arguments = const {}]);
+
void reportInfo(Spannable node, MessageKind errorCode, [Map arguments]);
// TODO(ahe): We should not expose this here. Perhaps a
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/dart2js.dart ('k') | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698