Skip to content

Commit 36f0c32

Browse files
munificentCommit Queue
authored andcommitted
Format tests/language/g*.
Change-Id: I7cfc51c22e98cc368ec59af3a7125f1d0c0419d8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/407140 Auto-Submit: Bob Nystrom <[email protected]> Reviewed-by: Lasse Nielsen <[email protected]> Commit-Queue: Lasse Nielsen <[email protected]>
1 parent 3166d71 commit 36f0c32

File tree

60 files changed

+4766
-4650
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4766
-4650
lines changed

tests/language/generic/constructor_mixin2_runtime_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ class D<Y> = A<Y> with B, C;
2323
void main() {
2424
var v = 0;
2525
checkNoDynamicTypeError(() => new D<int>(v));
26-
2726
}

tests/language/generic/constructor_mixin3_runtime_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ class C2 = A<String> with B;
2222
void main() {
2323
var v = 0;
2424
checkNoDynamicTypeError(() => new C1(v));
25-
2625
}

tests/language/generic/constructor_mixin_runtime_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ class C<Y> = A<Y> with B;
2121
void main() {
2222
var v = 0;
2323
checkNoDynamicTypeError(() => new C<int>(v));
24-
2524
}

tests/language/generic/f_bounded_quantification_runtime_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@ class SubBaz<T> extends Baz<T> {}
2020
main() {
2121
FBound<Bar> fb = new FBound<Bar>();
2222

23-
2423
FBound<Baz<Bar>> fbb = new FBound<Baz<Bar>>();
25-
2624
}

tests/language/generic/f_bounded_quantification_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class SubBaz<T> extends Baz<T> {}
1717
main() {
1818
FBound<Bar> fb = new FBound<Bar>();
1919
FBound<SubBar> fsb = new FBound<SubBar>();
20-
//^
21-
// [cfe] Type argument 'SubBar' doesn't conform to the bound 'FBound<F>' of the type variable 'F' on 'FBound'.
20+
// [error column 3]
21+
// [cfe] Type argument 'SubBar' doesn't conform to the bound 'FBound<F>' of the type variable 'F' on 'FBound'.
2222
// ^^^^^^
2323
// [analyzer] COMPILE_TIME_ERROR.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS
2424
// ^
@@ -28,8 +28,8 @@ main() {
2828

2929
FBound<Baz<Bar>> fbb = new FBound<Baz<Bar>>();
3030
FBound<SubBaz<Bar>> fsbb = new FBound<SubBaz<Bar>>();
31-
//^
32-
// [cfe] Type argument 'SubBaz<Bar>' doesn't conform to the bound 'FBound<F>' of the type variable 'F' on 'FBound'.
31+
// [error column 3]
32+
// [cfe] Type argument 'SubBaz<Bar>' doesn't conform to the bound 'FBound<F>' of the type variable 'F' on 'FBound'.
3333
// ^^^^^^^^^^^
3434
// [analyzer] COMPILE_TIME_ERROR.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS
3535
// ^

tests/language/generic/field_mixin6_runtime_test.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import 'package:expect/expect.dart';
1111

1212
mixin M<T> {
13-
1413
T field2 = 0 as dynamic;
1514
}
1615

tests/language/generic/function_subtype_parametrized_typedef_runtime_1_test.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,6 @@ class C extends B {}
1818

1919
void foo(H<A> ha, H<B> hb, H<C> hc) {
2020
H<A> haa = ha;
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
3121
}
3222

3323
main() {}

tests/language/generic/function_subtype_parametrized_typedef_runtime_2_test.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,7 @@ class B extends A {}
1717
class C extends B {}
1818

1919
void foo(H<A> ha, H<B> hb, H<C> hc) {
20-
21-
22-
23-
24-
2520
H<B> hbb = hb;
26-
27-
28-
29-
30-
3121
}
3222

3323
main() {}

tests/language/generic/function_subtype_parametrized_typedef_runtime_3_test.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ class B extends A {}
1717
class C extends B {}
1818

1919
void foo(H<A> ha, H<B> hb, H<C> hc) {
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
3020
H<C> hcc = hc;
3121
}
3222

tests/language/generic/function_subtype_parametrized_typedef_runtime_test.dart

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,6 @@ class B extends A {}
1616

1717
class C extends B {}
1818

19-
void foo(H<A> ha, H<B> hb, H<C> hc) {
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
31-
}
19+
void foo(H<A> ha, H<B> hb, H<C> hc) {}
3220

3321
main() {}

0 commit comments

Comments
 (0)