Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(603)

Unified Diff: tests/compiler/dart2js/unparser2_test.dart

Issue 11090016: Change core lib, dart2js, and more for new optional parameters syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/parser_helper.dart ('k') | tests/corelib/collection_to_string_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « tests/compiler/dart2js/parser_helper.dart ('k') | tests/corelib/collection_to_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698