Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: tests/language_strong/type_hoisting_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698