Index: tests/language_strong/super_field_test.dart |
diff --git a/tests/language_strong/super_field_test.dart b/tests/language_strong/super_field_test.dart |
index 15b46711201bae098be4d21fa13eda10da6fe4d8..aa56eb237a59e487b22d6b67cd59f03e16590006 100644 |
--- a/tests/language_strong/super_field_test.dart |
+++ b/tests/language_strong/super_field_test.dart |
@@ -13,9 +13,10 @@ class A { |
String greeting() { |
return "Gruezi"; |
} |
- @virtual String city; |
-} |
+ @virtual |
+ String city; |
+} |
class B extends A { |
B() : super() {} |
@@ -24,18 +25,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(); |