|
1 | 1 | -- Error: tests/neg-macros/generic-num-lits.scala:2:8 ------------------------------------------------------------------
|
2 | 2 | 2 |val b = 0xcafebabe: BigDecimal // error
|
3 | 3 | | ^
|
4 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 4 | + | Type scala.math.BigDecimal does not have a FromDigits instance for whole numbers with radix other than 10. |
5 | 5 | | Found: scala.util.FromDigits.BigDecimalFromDigits.type(scala.util.FromDigits.BigDecimalFromDigits)
|
6 | 6 | | Expected: scala.util.FromDigits.WithRadix[scala.math.BigDecimal]
|
7 | 7 | | This location is in code that was inlined at generic-num-lits.scala:2
|
8 | 8 | -- Error: tests/neg-macros/generic-num-lits.scala:3:8 ------------------------------------------------------------------
|
9 | 9 | 3 |val c = 1.3: BigInt // error
|
10 | 10 | | ^
|
11 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 11 | + | Type scala.math.BigInt does not have a FromDigits instance for numbers with a decimal point. |
12 | 12 | | Found: scala.util.FromDigits.BigIntFromDigits.type(scala.util.FromDigits.BigIntFromDigits)
|
13 | 13 | | Expected: scala.util.FromDigits.Decimal[scala.math.BigInt]
|
14 | 14 | | This location is in code that was inlined at generic-num-lits.scala:3
|
15 | 15 | -- Error: tests/neg-macros/generic-num-lits.scala:4:8 ------------------------------------------------------------------
|
16 | 16 | 4 |val d = 2e500: BigInt // error
|
17 | 17 | | ^
|
18 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 18 | + | Type scala.math.BigInt does not have a FromDigits instance for floating-point numbers. |
19 | 19 | | Found: scala.util.FromDigits.BigIntFromDigits.type(scala.util.FromDigits.BigIntFromDigits)
|
20 | 20 | | Expected: scala.util.FromDigits.Floating[scala.math.BigInt]
|
21 | 21 | | This location is in code that was inlined at generic-num-lits.scala:4
|
22 | 22 | -- Error: tests/neg-macros/generic-num-lits.scala:7:7 ------------------------------------------------------------------
|
23 | 23 | 7 | case 0xcafebabe: BigDecimal => // error
|
24 | 24 | | ^
|
25 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 25 | + | Type scala.math.BigDecimal does not have a FromDigits instance for whole numbers with radix other than 10. |
26 | 26 | | Found: scala.util.FromDigits.BigDecimalFromDigits.type(scala.util.FromDigits.BigDecimalFromDigits)
|
27 | 27 | | Expected: scala.util.FromDigits.WithRadix[scala.math.BigDecimal]
|
28 | 28 | | This location is in code that was inlined at generic-num-lits.scala:7
|
29 | 29 | -- Error: tests/neg-macros/generic-num-lits.scala:11:7 -----------------------------------------------------------------
|
30 | 30 | 11 | case 1.3: BigInt => // error
|
31 | 31 | | ^
|
32 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 32 | + | Type scala.math.BigInt does not have a FromDigits instance for numbers with a decimal point. |
33 | 33 | | Found: scala.util.FromDigits.BigIntFromDigits.type(scala.util.FromDigits.BigIntFromDigits)
|
34 | 34 | | Expected: scala.util.FromDigits.Decimal[scala.math.BigInt]
|
35 | 35 | | This location is in code that was inlined at generic-num-lits.scala:11
|
36 | 36 | -- Error: tests/neg-macros/generic-num-lits.scala:15:7 -----------------------------------------------------------------
|
37 | 37 | 15 | case 2e500: BigInt => // error
|
38 | 38 | | ^
|
39 |
| - | FromDigits instance is incompatible with the expected numeric kind. |
| 39 | + | Type scala.math.BigInt does not have a FromDigits instance for floating-point numbers. |
40 | 40 | | Found: scala.util.FromDigits.BigIntFromDigits.type(scala.util.FromDigits.BigIntFromDigits)
|
41 | 41 | | Expected: scala.util.FromDigits.Floating[scala.math.BigInt]
|
42 | 42 | | This location is in code that was inlined at generic-num-lits.scala:15
|
0 commit comments