Index: lib/compiler/implementation/diagnostic_listener.dart |
=================================================================== |
--- lib/compiler/implementation/diagnostic_listener.dart (revision 13496) |
+++ lib/compiler/implementation/diagnostic_listener.dart (working copy) |
@@ -4,7 +4,7 @@ |
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. |