Index: tests/language_strong/type_no_hoisting_test.dart |
diff --git a/tests/language_strong/type_no_hoisting_test.dart b/tests/language_strong/type_no_hoisting_test.dart |
index 8dcbb2dbd5fc4fd527468e7c95d59360f00c5e0a..a9cba0c24a67f0e18abdbe5a598019297a069269 100644 |
--- a/tests/language_strong/type_no_hoisting_test.dart |
+++ b/tests/language_strong/type_no_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); |