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

Unified Diff: dart/tests/language/cascade_precedence_test.dart

Issue 10829416: Update language tests to new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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: dart/tests/language/cascade_precedence_test.dart
diff --git a/dart/tests/language/cascade_precedence_test.dart b/dart/tests/language/cascade_precedence_test.dart
index 2ed263e0e4a291c6578e1a055e6ce1c7af3b5462..de39f02f967b9d3b1db9f4afc7730dd30efe378d 100644
--- a/dart/tests/language/cascade_precedence_test.dart
+++ b/dart/tests/language/cascade_precedence_test.dart
@@ -17,7 +17,7 @@ class A {
if (n == 0) return set;
return () => limp(n - 1);
}
- A get self() => this;
+ A get self => this;
A operator+(A other) {
this.value += other.value;
return this;
@@ -29,7 +29,7 @@ class Box {
Box(this.value);
A operator[](int pos) => value;
void operator[]=(int pos, A a) { value = a; }
- A get x() => value;
+ A get x => value;
void set x(A a) { value = a; }
}
« no previous file with comments | « dart/tests/language/call_through_null_getter_test.dart ('k') | dart/tests/language/compound_assignment_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698