Index: tests/language/least_upper_bound_test.dart |
diff --git a/tests/language/least_upper_bound_test.dart b/tests/language/least_upper_bound_test.dart |
index d75f35911f6dcc8f59c02fe55dfe3c4b49c97eeb..ae7df6cf2440bab8ebd6410aca8019c5b9909b91 100644 |
--- a/tests/language/least_upper_bound_test.dart |
+++ b/tests/language/least_upper_bound_test.dart |
@@ -7,12 +7,15 @@ |
class A { |
var a; |
} |
+ |
class B { |
var b; |
} |
+ |
class C extends B { |
var c; |
} |
+ |
class D extends B { |
var d; |
} |
@@ -22,10 +25,13 @@ class E<T> { |
E(this.e); |
} |
+ |
class F<T> extends E<T> { |
T f; |
- F(T f) : this.f = f, super(f); |
+ F(T f) |
+ : this.f = f, |
+ super(f); |
} |
void main() { |
@@ -100,4 +106,4 @@ void testEF(E<B> e, F<C> f) { |
var r5; |
r5 = (true ? e : f).e; //# 31: static type warning |
r5 = (false ? e : f).f; //# 32: static type warning |
-} |
+} |