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

Unified Diff: tests/language/pseudo_kw_test.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://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/pseudo_kw_test.dart
diff --git a/tests/language/pseudo_kw_test.dart b/tests/language/pseudo_kw_test.dart
index 43e803edfc80d059d267b97abd5e0209d1249b4e..fdf054df49d54be68a572340961bb8e807303d48 100644
--- a/tests/language/pseudo_kw_test.dart
+++ b/tests/language/pseudo_kw_test.dart
@@ -76,7 +76,7 @@ class A {
class B {
var set = 100;
- get get() => set;
+ get get => set;
set get(get) => set = 2 * get.get;
static() {
@@ -92,7 +92,7 @@ class B {
class C {
static int operator = (5);
static var get;
- static get set() => 111;
+ static get set => 111;
static set set(set) { }
}
« no previous file with comments | « tests/language/override_field_method5_negative_test.dart ('k') | tests/language/toplevel_collision1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698