| Index: lib/compiler/implementation/diagnostic_listener.dart
|
| ===================================================================
|
| --- lib/compiler/implementation/diagnostic_listener.dart (revision 13683)
|
| +++ lib/compiler/implementation/diagnostic_listener.dart (working copy)
|
| @@ -4,15 +4,15 @@
|
|
|
| abstract class DiagnosticListener {
|
| // TODO(karlklose): replace cancel with better error reporting mechanism.
|
| - void cancel([String reason, node, token, instruction, element]);
|
| + void cancel(String reason, {node, token, instruction, element});
|
| // TODO(karlklose): rename log to something like reportInfo.
|
| void log(message);
|
| // TODO(karlklose): add reportWarning and reportError to this interface.
|
|
|
| void internalErrorOnElement(Element element, String message);
|
| void internalError(String message,
|
| - [Node node, Token token, HInstruction instruction,
|
| - Element element]);
|
| + {Node node, Token token, HInstruction instruction,
|
| + Element element});
|
|
|
| SourceSpan spanFromNode(Node node, [Uri uri]);
|
|
|
|
|