Index: tests/compiler/dart2js/unparser2_test.dart |
=================================================================== |
--- tests/compiler/dart2js/unparser2_test.dart (revision 13683) |
+++ tests/compiler/dart2js/unparser2_test.dart (working copy) |
@@ -64,7 +64,7 @@ |
MessageCollector() { |
messages = []; |
} |
- void cancel([String reason, node, token, instruction, element]) { |
+ void cancel(String reason, {node, token, instruction, element}) { |
messages.add(reason); |
throw reason; |
} |
@@ -75,8 +75,8 @@ |
throw message; |
} |
void internalError(String message, |
- [Node node, Token token, dynamic instruction, |
- Element element]) { |
+ {Node node, Token token, dynamic instruction, |
+ Element element}) { |
throw message; |
} |
} |