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

Unified Diff: tests/language_strong/cyclic_type_variable_test.dart

Issue 2770063002: Revert "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « tests/language_strong/cyclic_metadata_test.dart ('k') | tests/language_strong/cyclic_typedef_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/cyclic_type_variable_test.dart
diff --git a/tests/language_strong/cyclic_type_variable_test.dart b/tests/language_strong/cyclic_type_variable_test.dart
index 47e00955111d4bee6cc05d54b38dfe666de8bca1..a6d6118c999735e26d6aa90ffac52bfd8008d066 100644
--- a/tests/language_strong/cyclic_type_variable_test.dart
+++ b/tests/language_strong/cyclic_type_variable_test.dart
@@ -6,53 +6,46 @@
class Base<T> {}
-class Derived extends Base<Derived> {} // legal
+class Derived extends Base<Derived> {} // legal
-typedef void funcType<
- T
+typedef void funcType<T
extends T //# 01: static type warning
- >(T arg);
+>(T arg);
-class DerivedFunc extends Base<funcType<DerivedFunc>> {}
+class DerivedFunc extends Base<funcType<DerivedFunc>> { }
-abstract class A<
- S
+
+abstract class A<S
extends S //# 02: static type warning
- > {
+> {
S field;
}
-abstract class B<U extends Base<U>> {
- // legal
+abstract class B<U extends Base<U>> { // legal
U field;
}
-class C1<
- V
+class C1<V
extends V // //# 03: static type warning
- > {
+> {
V field;
}
-class C2<
- V
+class C2<V
extends V // //# 04: static type warning
- > implements A<V> {
+> implements A<V> {
V field;
}
-class D1<W extends Base<W>> {
- // legal
+class D1<W extends Base<W>> { // legal
W field;
}
-class D2<W extends Base<W>> implements B<W> {
- // legal
+class D2<W extends Base<W>> implements B<W>{ // legal
W field;
}
-class E<X extends Base<funcType<X>>> {
- // legal
+class E<X extends Base<funcType<X>>> { // legal
X field;
}
« no previous file with comments | « tests/language_strong/cyclic_metadata_test.dart ('k') | tests/language_strong/cyclic_typedef_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698