Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
index 9a7b131451c4d3ad9a73cf798d746d5c5c3e407a..fb2a8aa4d234dd8cb163f0dbb3e9a7a4d5ca0e39 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -1155,6 +1155,13 @@ abstract class Compiler implements DiagnosticListener { |
api.Diagnostic.INFO); |
} |
+ void reportHint(Spannable node, MessageKind errorCode, |
+ [Map arguments = const {}]) { |
+ reportMessage(spanFromSpannable(node), |
+ errorCode.error(arguments), |
+ api.Diagnostic.HINT); |
+ } |
+ |
void reportInternalError(Spannable node, String message) { |
reportMessage(spanFromSpannable(node), |
MessageKind.GENERIC.error({'text': message}), |