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 5fe2a3c9b4c9131487e57d69bf7c4cf16fb6564f..7696d489aabb745f4faab260670d0770ddba77aa 100644 |
--- a/tests/language_strong/type_variable_bounds_test.dart |
+++ b/tests/language_strong/type_variable_bounds_test.dart |
@@ -11,9 +11,7 @@ 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> { |
@@ -32,9 +30,10 @@ 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 |