| Index: tests/language_strong/type_variable_bounds4_test.dart
|
| diff --git a/tests/language_strong/type_variable_bounds4_test.dart b/tests/language_strong/type_variable_bounds4_test.dart
|
| index 3581d6f5780234c9143db6b3a646032cece7a3ad..1275310dec39018d88721c0bd684089acf9377ab 100644
|
| --- a/tests/language_strong/type_variable_bounds4_test.dart
|
| +++ b/tests/language_strong/type_variable_bounds4_test.dart
|
| @@ -5,22 +5,22 @@
|
| // Test instantiation of object with malbounded types.
|
|
|
| class A<T
|
| - extends num /// 01: static type warning
|
| + extends num //# 01: static type warning
|
| > {}
|
| class B<T> implements A<T> {}
|
| class C<T
|
| - extends num /// 01: continued
|
| + extends num //# 01: continued
|
| > implements B<T> {}
|
|
|
| class Class<T> {
|
| newA() {
|
| - new A<T>(); /// 01: continued
|
| + new A<T>(); //# 01: continued
|
| }
|
| newB() {
|
| - new B<T>(); /// 01: continued
|
| + new B<T>(); //# 01: continued
|
| }
|
| newC() {
|
| - new C<T>(); /// 01: continued
|
| + new C<T>(); //# 01: continued
|
| }
|
| }
|
|
|
| @@ -53,9 +53,9 @@ void main() {
|
| test(false, () => new B<int>());
|
| test(false, () => new C<int>());
|
|
|
| - test(true, () => new A<String>()); /// 01: continued
|
| - test(true, () => new B<String>()); /// 01: continued
|
| - test(true, () => new C<String>()); /// 01: continued
|
| + test(true, () => new A<String>()); //# 01: continued
|
| + test(true, () => new B<String>()); //# 01: continued
|
| + test(true, () => new C<String>()); //# 01: continued
|
|
|
| var c = new Class<int>();
|
| test(false, () => c.newA());
|
| @@ -63,7 +63,7 @@ void main() {
|
| test(false, () => c.newC());
|
|
|
| c = new Class<String>();
|
| - test(true, () => c.newA()); /// 01: continued
|
| - test(true, () => c.newB()); /// 01: continued
|
| - test(true, () => c.newC()); /// 01: continued
|
| + test(true, () => c.newA()); //# 01: continued
|
| + test(true, () => c.newB()); //# 01: continued
|
| + test(true, () => c.newC()); //# 01: continued
|
| }
|
|
|