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

Unified Diff: dart/tests/compiler/dart2js_extra/naming_test.dart

Issue 10831332: Support new getter syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments and disable one test. 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/compiler/dart2js_extra/naming_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/naming_test.dart b/dart/tests/compiler/dart2js_extra/naming_test.dart
index 9bbc9de0287f818939cb1698417515f425600590..4a7e943f57b771a6b5b7668fdba14ee926f83ce9 100644
--- a/dart/tests/compiler/dart2js_extra/naming_test.dart
+++ b/dart/tests/compiler/dart2js_extra/naming_test.dart
@@ -162,7 +162,7 @@ class Bug4082360 {
int x_;
Bug4082360() {}
- int get x() { return x_; }
+ int get x { return x_; }
void set x(int value) { x_ = value; }
void indirectSet(int value) { x = value; }
@@ -510,7 +510,7 @@ class Naming1Test {
// Ensure we don't have false positive.
class Naming2Test {
Naming2Test() { }
- int get foo() { return 1; }
+ int get foo { return 1; }
set foo(x) { }
static void main(args) {

Powered by Google App Engine
This is Rietveld 408576698