Index: dart/tests/language/getters_setters2_test.dart |
diff --git a/dart/tests/language/getters_setters2_test.dart b/dart/tests/language/getters_setters2_test.dart |
index f854a27d62d8291a24e719cc507b9f845aa53e81..38075971c1c2b0753bf9b44a1c6eee1cf25aed4f 100644 |
--- a/dart/tests/language/getters_setters2_test.dart |
+++ b/dart/tests/language/getters_setters2_test.dart |
@@ -16,7 +16,7 @@ class C {} |
class T1 { |
A getterField; |
- A get field() { return getterField; } |
+ A get field { return getterField; } |
// OK, B is assignable to A |
void set field(B arg) { getterField = arg; } |
} |
@@ -24,7 +24,7 @@ class T1 { |
class T2 { |
A getterField; |
C setterField; |
- A get field() { return getterField; } |
+ A get field { return getterField; } |
// Type C is not assignable to A |
void set field(C arg) { setterField = arg; } /// 01: static type warning |
@@ -32,7 +32,7 @@ class T2 { |
class T3 { |
B getterField; |
- B get field() { return getterField; } |
+ B get field { return getterField; } |
// OK, A is assignable to B |
void set field(A arg) { getterField = arg; } |
} |