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

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
Index: tests/language/constructor5_test.dart
===================================================================
--- tests/language/constructor5_test.dart (revision 13762)
+++ 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

Powered by Google App Engine
This is Rietveld 408576698