Index: tests/language_strong/super_field_2_test.dart |
diff --git a/tests/language_strong/super_field_2_test.dart b/tests/language_strong/super_field_2_test.dart |
index 304e4ef0ac66155bcfa70ec6c26a730159b6ec5c..51cc9263986e4e0f328e53c98ae7387426e713d5 100644 |
--- a/tests/language_strong/super_field_2_test.dart |
+++ b/tests/language_strong/super_field_2_test.dart |
@@ -6,7 +6,8 @@ import "package:expect/expect.dart"; |
import "package:meta/meta.dart" show virtual; |
class A { |
- @virtual var foo; |
+ @virtual |
+ var foo; |
A(this.foo); |
B_Sfoo() => 'A.B_Sfoo()'; |
@@ -34,7 +35,6 @@ class D extends C { |
BCD_Sfoo() => super.foo; |
} |
- |
var inscrutable; |
main() { |
@@ -45,8 +45,8 @@ main() { |
var d = new D('Da', 'Dc'); |
// Check access via plain getter. |
- var b_bc = inscrutable(true) ? b : c; // B, but compiler thinks can also be C |
- var c_bc = inscrutable(true) ? c : b; // C, but compiler thinks can also be B |
+ var b_bc = inscrutable(true) ? b : c; // B, but compiler thinks can also be C |
+ var c_bc = inscrutable(true) ? c : b; // C, but compiler thinks can also be B |
Expect.equals('Ba', b.foo); |
Expect.equals('Cc', c.foo); |
@@ -84,6 +84,4 @@ main() { |
Expect.equals('Ba', inscrutable(b).BCD_Sfoo()); |
Expect.equals('Ca', inscrutable(c).BCD_Sfoo()); |
Expect.equals('Dc', inscrutable(d).BCD_Sfoo()); |
- |
- |
} |