Skip to content

Commit 8dec7a2

Browse files
Accepted baselines.
1 parent 1ad443e commit 8dec7a2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/baselines/reference/expr.errors.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
tests/cases/compiler/expr.ts(87,5): error TS2367: This condition will always return 'false' since the types 'number' and 'string' have no overlap.
2-
tests/cases/compiler/expr.ts(88,5): error TS2367: This condition will always return 'false' since the types 'number' and 'false' have no overlap.
2+
tests/cases/compiler/expr.ts(88,5): error TS2367: This condition will always return 'false' since the types 'number' and 'boolean' have no overlap.
33
tests/cases/compiler/expr.ts(94,5): error TS2367: This condition will always return 'false' since the types 'string' and 'number' have no overlap.
4-
tests/cases/compiler/expr.ts(95,5): error TS2367: This condition will always return 'false' since the types 'string' and 'false' have no overlap.
4+
tests/cases/compiler/expr.ts(95,5): error TS2367: This condition will always return 'false' since the types 'string' and 'boolean' have no overlap.
55
tests/cases/compiler/expr.ts(98,5): error TS2367: This condition will always return 'false' since the types 'string' and 'E' have no overlap.
66
tests/cases/compiler/expr.ts(115,5): error TS2367: This condition will always return 'false' since the types 'E' and 'string' have no overlap.
7-
tests/cases/compiler/expr.ts(116,5): error TS2367: This condition will always return 'false' since the types 'E' and 'false' have no overlap.
8-
tests/cases/compiler/expr.ts(142,5): error TS2365: Operator '+' cannot be applied to types 'number' and 'false'.
7+
tests/cases/compiler/expr.ts(116,5): error TS2367: This condition will always return 'false' since the types 'E' and 'boolean' have no overlap.
8+
tests/cases/compiler/expr.ts(142,5): error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'.
99
tests/cases/compiler/expr.ts(143,5): error TS2365: Operator '+' cannot be applied to types 'number' and 'I'.
1010
tests/cases/compiler/expr.ts(161,5): error TS2365: Operator '+' cannot be applied to types 'I' and 'number'.
11-
tests/cases/compiler/expr.ts(163,5): error TS2365: Operator '+' cannot be applied to types 'I' and 'false'.
11+
tests/cases/compiler/expr.ts(163,5): error TS2365: Operator '+' cannot be applied to types 'I' and 'boolean'.
1212
tests/cases/compiler/expr.ts(165,5): error TS2365: Operator '+' cannot be applied to types 'I' and 'I'.
1313
tests/cases/compiler/expr.ts(166,5): error TS2365: Operator '+' cannot be applied to types 'I' and 'E'.
14-
tests/cases/compiler/expr.ts(170,5): error TS2365: Operator '+' cannot be applied to types 'E' and 'false'.
14+
tests/cases/compiler/expr.ts(170,5): error TS2365: Operator '+' cannot be applied to types 'E' and 'boolean'.
1515
tests/cases/compiler/expr.ts(172,5): error TS2365: Operator '+' cannot be applied to types 'E' and 'I'.
1616
tests/cases/compiler/expr.ts(176,7): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
1717
tests/cases/compiler/expr.ts(177,7): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.
@@ -161,7 +161,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
161161
!!! error TS2367: This condition will always return 'false' since the types 'number' and 'string' have no overlap.
162162
n==b;
163163
~~~~
164-
!!! error TS2367: This condition will always return 'false' since the types 'number' and 'false' have no overlap.
164+
!!! error TS2367: This condition will always return 'false' since the types 'number' and 'boolean' have no overlap.
165165
n==i;
166166
n==n;
167167
n==e;
@@ -172,7 +172,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
172172
!!! error TS2367: This condition will always return 'false' since the types 'string' and 'number' have no overlap.
173173
s==b;
174174
~~~~
175-
!!! error TS2367: This condition will always return 'false' since the types 'string' and 'false' have no overlap.
175+
!!! error TS2367: This condition will always return 'false' since the types 'string' and 'boolean' have no overlap.
176176
s==i;
177177
s==s;
178178
s==e;
@@ -199,7 +199,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
199199
!!! error TS2367: This condition will always return 'false' since the types 'E' and 'string' have no overlap.
200200
e==b;
201201
~~~~
202-
!!! error TS2367: This condition will always return 'false' since the types 'E' and 'false' have no overlap.
202+
!!! error TS2367: This condition will always return 'false' since the types 'E' and 'boolean' have no overlap.
203203
e==a;
204204
e==i;
205205
e==e;
@@ -227,7 +227,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
227227
n+s;
228228
n+b;
229229
~~~
230-
!!! error TS2365: Operator '+' cannot be applied to types 'number' and 'false'.
230+
!!! error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'.
231231
n+i;
232232
~~~
233233
!!! error TS2365: Operator '+' cannot be applied to types 'number' and 'I'.
@@ -254,7 +254,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
254254
i+s;
255255
i+b;
256256
~~~
257-
!!! error TS2365: Operator '+' cannot be applied to types 'I' and 'false'.
257+
!!! error TS2365: Operator '+' cannot be applied to types 'I' and 'boolean'.
258258
i+a;
259259
i+i;
260260
~~~
@@ -267,7 +267,7 @@ tests/cases/compiler/expr.ts(242,7): error TS2363: The right-hand side of an ari
267267
e+s;
268268
e+b;
269269
~~~
270-
!!! error TS2365: Operator '+' cannot be applied to types 'E' and 'false'.
270+
!!! error TS2365: Operator '+' cannot be applied to types 'E' and 'boolean'.
271271
e+a;
272272
e+i;
273273
~~~

0 commit comments

Comments
 (0)