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

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
Index: tests/compiler/dart2js/unparser2_test.dart
===================================================================
--- tests/compiler/dart2js/unparser2_test.dart (revision 13588)
+++ 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;
}
}

Powered by Google App Engine
This is Rietveld 408576698