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

Unified Diff: tests/language/src/ParameterInitializerTest.dart

Issue 9703004: Revert change 5444 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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/language.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/ParameterInitializerTest.dart
===================================================================
--- tests/language/src/ParameterInitializerTest.dart (revision 5447)
+++ tests/language/src/ParameterInitializerTest.dart (working copy)
@@ -20,7 +20,7 @@
obj = new Foo.optional();
Expect.equals(5, obj.x);
- obj = new Foo.optional_private(y: 222);
+ obj = new Foo.optional_private(_y: 222);
Expect.equals(222, obj._y);
obj = new Foo.optional_private();
@@ -48,7 +48,7 @@
Foo.supertype(Object this.x) {}
Foo.subtype(int this.x) {}
Foo.optional([this.x = 5]) {}
- Foo.optional_private([y = 77]) : _y = y {}
+ Foo.optional_private([this._y = 77]) {}
num x;
num _y;
« no previous file with comments | « tests/language/language.status ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698