Index: tests/language/type_variable_bounds4_test.dart |
diff --git a/tests/language/type_variable_bounds4_test.dart b/tests/language/type_variable_bounds4_test.dart |
index 1275310dec39018d88721c0bd684089acf9377ab..46a154cfd6023b2d8570d83c61500ef13c6f7850 100644 |
--- a/tests/language/type_variable_bounds4_test.dart |
+++ b/tests/language/type_variable_bounds4_test.dart |
@@ -4,13 +4,17 @@ |
// Test instantiation of object with malbounded types. |
-class A<T |
+class A< |
+ T |
extends num //# 01: static type warning |
- > {} |
+ > {} |
+ |
class B<T> implements A<T> {} |
-class C<T |
+ |
+class C< |
+ T |
extends num //# 01: continued |
- > implements B<T> {} |
+ > implements B<T> {} |
class Class<T> { |
newA() { |
@@ -47,7 +51,6 @@ void test(bool expectTypeError, f()) { |
} |
} |
- |
void main() { |
test(false, () => new A<int>()); |
test(false, () => new B<int>()); |
@@ -66,4 +69,4 @@ void main() { |
test(true, () => c.newA()); //# 01: continued |
test(true, () => c.newB()); //# 01: continued |
test(true, () => c.newC()); //# 01: continued |
-} |
+} |