Skip to content

Commit 7a94913

Browse files
committed
Update baselines
1 parent e27d091 commit 7a94913

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/baselines/reference/typeParameterAssignmentCompat1.errors.txt

-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
tests/cases/compiler/typeParameterAssignmentCompat1.ts(8,5): error TS2322: Type 'Foo<U>' is not assignable to type 'Foo<T>'.
22
Type 'U' is not assignable to type 'T'.
33
tests/cases/compiler/typeParameterAssignmentCompat1.ts(9,5): error TS2322: Type 'Foo<T>' is not assignable to type 'Foo<U>'.
4-
Type 'T' is not assignable to type 'U'.
54
tests/cases/compiler/typeParameterAssignmentCompat1.ts(16,9): error TS2322: Type 'Foo<U>' is not assignable to type 'Foo<T>'.
6-
Type 'U' is not assignable to type 'T'.
75
tests/cases/compiler/typeParameterAssignmentCompat1.ts(17,9): error TS2322: Type 'Foo<T>' is not assignable to type 'Foo<U>'.
8-
Type 'T' is not assignable to type 'U'.
96

107

118
==== tests/cases/compiler/typeParameterAssignmentCompat1.ts (4 errors) ====
@@ -23,7 +20,6 @@ tests/cases/compiler/typeParameterAssignmentCompat1.ts(17,9): error TS2322: Type
2320
return x;
2421
~~~~~~~~~
2522
!!! error TS2322: Type 'Foo<T>' is not assignable to type 'Foo<U>'.
26-
!!! error TS2322: Type 'T' is not assignable to type 'U'.
2723
}
2824

2925
class C<T> {
@@ -33,10 +29,8 @@ tests/cases/compiler/typeParameterAssignmentCompat1.ts(17,9): error TS2322: Type
3329
x = y; // should be an error
3430
~
3531
!!! error TS2322: Type 'Foo<U>' is not assignable to type 'Foo<T>'.
36-
!!! error TS2322: Type 'U' is not assignable to type 'T'.
3732
return x;
3833
~~~~~~~~~
3934
!!! error TS2322: Type 'Foo<T>' is not assignable to type 'Foo<U>'.
40-
!!! error TS2322: Type 'T' is not assignable to type 'U'.
4135
}
4236
}

0 commit comments

Comments
 (0)