Index: tests/language_strong/type_hoisting_test.dart |
diff --git a/tests/language_strong/type_hoisting_test.dart b/tests/language_strong/type_hoisting_test.dart |
index a4004bfe7526acf3c77584690b8ef55cb94fe394..e6ab14edc515c1e4d567a8fecfc93ecbb395de8e 100644 |
--- a/tests/language_strong/type_hoisting_test.dart |
+++ b/tests/language_strong/type_hoisting_test.dart |
@@ -8,7 +8,10 @@ class A<T> { |
A(this.x, T z); |
A.make(); |
void f(T x) {} |
- static String g(String x) {return x;} |
+ static String g(String x) { |
+ return x; |
+ } |
+ |
T x; |
} |
@@ -16,15 +19,21 @@ class B extends A<int> { |
B(int x, int z) : super(x, z); |
B.make() : super.make(); |
void f(int x) {} |
- static int g(int x) {return x;} |
+ static int g(int x) { |
+ return x; |
+ } |
} |
class C { |
C(this.x, int z); |
void f(int x) {} |
- static int g(int x) {return x;} |
+ static int g(int x) { |
+ return x; |
+ } |
+ |
int x = 0; |
} |
+ |
typedef void ToVoid<T>(T x); |
typedef T Id<T>(T x); |