Index: tests/language/super_field_test.dart |
diff --git a/tests/language/super_field_test.dart b/tests/language/super_field_test.dart |
index 5d51cb2ab70da06a47310d1da8ad0401e0990aee..85ae8e9a2ccb9084d2d798475d49bb72835596ba 100644 |
--- a/tests/language/super_field_test.dart |
+++ b/tests/language/super_field_test.dart |
@@ -5,7 +5,6 @@ |
import "package:expect/expect.dart"; |
- |
class A { |
A() { |
city = "Bern"; |
@@ -13,10 +12,10 @@ class A { |
String greeting() { |
return "Gruezi"; |
} |
+ |
String city; |
} |
- |
class B extends A { |
B() : super() {} |
String greeting() { |
@@ -24,18 +23,17 @@ class B extends A { |
} |
} |
- |
class C extends B { |
C() : super() {} |
String greeting() { |
return "Servus " + super.greeting(); |
} |
+ |
String get city { |
return "Basel " + super.city; |
} |
} |
- |
class SuperFieldTest { |
static testMain() { |
A a = new A(); |