| Index: tests/language/malbounded_redirecting_factory_test.dart
|
| diff --git a/tests/language/malbounded_redirecting_factory_test.dart b/tests/language/malbounded_redirecting_factory_test.dart
|
| index d0e3d022f6de0881e2da69f489e6a0b9488d29fc..22f693637afd766ab4bedbdf3422157dafa1ad7b 100644
|
| --- a/tests/language/malbounded_redirecting_factory_test.dart
|
| +++ b/tests/language/malbounded_redirecting_factory_test.dart
|
| @@ -5,25 +5,25 @@
|
| import 'package:expect/expect.dart';
|
|
|
| class A<Ta
|
| - extends num /// 02: continued
|
| + extends num //# 02: continued
|
| > implements B<Ta>, C<Ta> { }
|
|
|
| class B<Tb
|
| - extends num /// 03: continued
|
| + extends num //# 03: continued
|
| > {
|
| factory B() = A<Tb>;
|
| }
|
|
|
| class C<Tc
|
| - extends num /// 04: continued
|
| + extends num //# 04: continued
|
| > {
|
| factory C() = B<Tc>;
|
| }
|
|
|
| main() {
|
| new C<int>();
|
| - new C<String>(); /// 01: static type warning
|
| - new C<String>(); /// 02: static type warning, dynamic type error
|
| - new C<String>(); /// 03: static type warning, dynamic type error
|
| - new C<String>(); /// 04: static type warning, dynamic type error
|
| + new C<String>(); //# 01: static type warning
|
| + new C<String>(); //# 02: static type warning, dynamic type error
|
| + new C<String>(); //# 03: static type warning, dynamic type error
|
| + new C<String>(); //# 04: static type warning, dynamic type error
|
| }
|
|
|