| 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
|
|
|