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

Unified Diff: tests/language/constructor5_test.dart

Issue 11191043: Third round of cleanups for new optional parameter semantics. (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/language/call_operator_test.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor5_test.dart
===================================================================
--- tests/language/constructor5_test.dart (revision 13779)
+++ tests/language/constructor5_test.dart (working copy)
@@ -14,7 +14,7 @@
}
class A {
- A([arg1 = 100, arg2 = 200]) : a1 = E(arg1++), a2 = E(arg2++) {
+ A({arg1: 100, arg2: 200}) : a1 = E(arg1++), a2 = E(arg2++) {
// b2 should be initialized between the above initializers and the following
// statements.
E(arg1); // 101
« no previous file with comments | « tests/language/call_operator_test.dart ('k') | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698