| Index: tests/compiler/dart2js/parser_test.dart
|
| diff --git a/tests/compiler/dart2js/parser_test.dart b/tests/compiler/dart2js/parser_test.dart
|
| index 322c47d21beaecdbf53700ee7b8ab58e3233eccf..a1f4ab269c27f4c4117cd5f653fa3e856436cfe5 100644
|
| --- a/tests/compiler/dart2js/parser_test.dart
|
| +++ b/tests/compiler/dart2js/parser_test.dart
|
| @@ -269,7 +269,9 @@ void testOperatorParse() {
|
| class Collector implements DiagnosticListener {
|
| int token = -1;
|
|
|
| - void cancel(String reason, {node, token, instruction, element}) {
|
| + void reportFatalError(Token token,
|
| + messageKind,
|
| + [Map arguments = const {}]) {
|
| this.token = token.kind;
|
| throw this;
|
| }
|
|
|