| Index: tests/language_strong/type_variable_bounds_test.dart
|
| diff --git a/tests/language_strong/type_variable_bounds_test.dart b/tests/language_strong/type_variable_bounds_test.dart
|
| index 7696d489aabb745f4faab260670d0770ddba77aa..5fe2a3c9b4c9131487e57d69bf7c4cf16fb6564f 100644
|
| --- a/tests/language_strong/type_variable_bounds_test.dart
|
| +++ b/tests/language_strong/type_variable_bounds_test.dart
|
| @@ -11,7 +11,9 @@ class Foo<T extends num> {
|
|
|
| factory Foo.good() = Foo;
|
|
|
| - factory Foo.IFoo() { return null; }
|
| + factory Foo.IFoo() {
|
| + return null;
|
| + }
|
| }
|
|
|
| abstract class IFoo<T extends num> {
|
| @@ -30,10 +32,9 @@ Foo<int> fi;
|
| // String is not assignable to num.
|
| Foo
|
| <String> //# 02: static type warning, dynamic type error
|
| - fs;
|
| + fs;
|
|
|
| class Box<T> {
|
| -
|
| // Box.T is not assignable to num.
|
| Foo<T> t; //# 03: static type warning
|
|
|
|
|