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

Unified Diff: tests/language/named_argument_in_const_creation_test.dart

Issue 10918261: Update language tests to new optional parameter syntax and semantics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/named_argument_in_const_creation_test.dart
===================================================================
--- tests/language/named_argument_in_const_creation_test.dart (revision 12414)
+++ tests/language/named_argument_in_const_creation_test.dart (working copy)
@@ -5,7 +5,7 @@
class A {
final x;
final y;
- const A(a, [b]) : x = a, y = b;
+ const A(a, {b}) : x = a, y = b;
static const test = const A(1, b: 2);
}

Powered by Google App Engine
This is Rietveld 408576698