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

Unified Diff: tests/language_strong/type_no_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_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);

Powered by Google App Engine
This is Rietveld 408576698