|
1 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:6:23 -------------------------------------------------- |
| 1 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:6:23 -------------------------------------------------- |
2 | 2 | 6 | val t34: 10 == "5" = true // error
|
3 | 3 | | ^^^^
|
4 | 4 | | Found: (true : Boolean)
|
5 | 5 | | Required: (false : Boolean)
|
6 | 6 |
|
7 | 7 | longer explanation available when compiling with `-explain`
|
8 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:7:22 -------------------------------------------------- |
| 8 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:7:22 -------------------------------------------------- |
9 | 9 | 7 | val t35: 10 == 10 = false // error
|
10 | 10 | | ^^^^^
|
11 | 11 | | Found: (false : Boolean)
|
12 | 12 | | Required: (true : Boolean)
|
13 | 13 |
|
14 | 14 | longer explanation available when compiling with `-explain`
|
15 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:12:24 ------------------------------------------------- |
| 15 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:12:24 ------------------------------------------------- |
16 | 16 | 12 | val t38: false != 5 = false // error
|
17 | 17 | | ^^^^^
|
18 | 18 | | Found: (false : Boolean)
|
19 | 19 | | Required: (true : Boolean)
|
20 | 20 |
|
21 | 21 | longer explanation available when compiling with `-explain`
|
22 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:13:22 ------------------------------------------------- |
| 22 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:13:22 ------------------------------------------------- |
23 | 23 | 13 | val t39: 10 != 10 = true // error
|
24 | 24 | | ^^^^
|
25 | 25 | | Found: (true : Boolean)
|
26 | 26 | | Required: (false : Boolean)
|
27 | 27 |
|
28 | 28 | longer explanation available when compiling with `-explain`
|
29 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:18:27 ------------------------------------------------- |
| 29 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:18:27 ------------------------------------------------- |
30 | 30 | 18 | val t04: ToString[Int] = "Int" // error
|
31 | 31 | | ^^^^^
|
32 | 32 | | Found: ("Int" : String)
|
33 | 33 | | Required: compiletime.ops.any.ToString[Int]
|
34 | 34 |
|
35 | 35 | longer explanation available when compiling with `-explain`
|
36 |
| --- [E007] Type Mismatch Error: tests\neg\singleton-ops-any.scala:32:26 ------------------------------------------------- |
| 36 | +-- [E007] Type Mismatch Error: tests/neg/singleton-ops-any.scala:32:26 ------------------------------------------------- |
37 | 37 | 32 | val t48: IsConst[Any] = true // error
|
38 | 38 | | ^^^^
|
39 | 39 | | Found: (true : Boolean)
|
|
0 commit comments