| Index: tests/language/redirecting_factory_malbounded_test.dart
|
| diff --git a/tests/language/redirecting_factory_malbounded_test.dart b/tests/language/redirecting_factory_malbounded_test.dart
|
| index 9f780c2c84e0219f5c3f7dcd8938adf29c5c110b..90ca684f5812b133fda86fbc9bc3740375b58fd1 100644
|
| --- a/tests/language/redirecting_factory_malbounded_test.dart
|
| +++ b/tests/language/redirecting_factory_malbounded_test.dart
|
| @@ -3,20 +3,20 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class Foo<T> extends Bar<T> {
|
| +
|
| factory Foo() = Bar;
|
|
|
| - Foo.create() : super.create() {}
|
| + Foo.create() : super.create() { }
|
| }
|
|
|
| -class Bar<
|
| - T
|
| +class Bar<T
|
| extends num // //# 01: static type warning, dynamic type error
|
| - > {
|
| + > {
|
| factory Bar() {
|
| return new Foo<T>.create();
|
| }
|
|
|
| - Bar.create() {}
|
| + Bar.create() { }
|
| }
|
|
|
| main() {
|
|
|