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

Unified Diff: dart/tests/language/getter_no_setter_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/getter_no_setter_test.dart
diff --git a/dart/tests/language/getter_no_setter_test.dart b/dart/tests/language/getter_no_setter_test.dart
index d1dd51b6bf9fd25f1bd8b35eb71ca349486cd6cd..04298df7fe4bde792d85d0ec11fc6a9b5bb9fd2b 100644
--- a/dart/tests/language/getter_no_setter_test.dart
+++ b/dart/tests/language/getter_no_setter_test.dart
@@ -5,7 +5,7 @@
class Example {
static int _var = 1;
- static int get nextVar() => _var++;
+ static int get nextVar => _var++;
Example() {
{
bool flag_exception = false;
@@ -38,7 +38,7 @@ class Example1 {
class Example2 extends Example1 {
static int _var = 1;
- static int get nextVar() => _var++;
+ static int get nextVar => _var++;
Example2() : super(nextVar) { } // No 'this' in scope.
}
« no previous file with comments | « dart/tests/language/getter_closure_execution_order_test.dart ('k') | dart/tests/language/getter_setter_in_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698