|
1 | 1 | -- [E008] Member Not Found Error: tests/neg/missing-implicit.scala:5:25 ------------------------------------------------
|
2 | 2 | 5 | case x :: xs1 if limit > 0 => consume(xs1, limit - x) // error // error
|
3 | 3 | | ^^^^^^^
|
4 |
| - | value > is not a member of T |
| 4 | + | value > is not a member of T, but could be made available as an extension method. |
5 | 5 | |
|
6 | 6 | | One of the following imports might fix the problem:
|
7 | 7 | |
|
|
11 | 11 | -- [E008] Member Not Found Error: tests/neg/missing-implicit.scala:5:51 ------------------------------------------------
|
12 | 12 | 5 | case x :: xs1 if limit > 0 => consume(xs1, limit - x) // error // error
|
13 | 13 | | ^^^^^^^
|
14 |
| - | value - is not a member of T |
| 14 | + | value - is not a member of T, but could be made available as an extension method. |
15 | 15 | |
|
16 |
| - | The following import might fix the problem: |
| 16 | + | The following import might fix the problem: |
17 | 17 | |
|
18 |
| - | import math.Numeric.Implicits.infixNumericOps |
19 |
| - | |
| 18 | + | import math.Numeric.Implicits.infixNumericOps |
| 19 | + | |
20 | 20 | -- Error: tests/neg/missing-implicit.scala:10:24 -----------------------------------------------------------------------
|
21 | 21 | 10 |val f = Future[Unit] { } // error
|
22 | 22 | | ^
|
|
62 | 62 | -- [E008] Member Not Found Error: tests/neg/missing-implicit.scala:18:48 -----------------------------------------------
|
63 | 63 | 18 |val d2: scala.concurrent.duration.Duration = 10.days // error
|
64 | 64 | | ^^^^^^^
|
65 |
| - | value days is not a member of Int |
| 65 | + | value days is not a member of Int, but could be made available as an extension method. |
66 | 66 | |
|
67 |
| - | One of the following imports might fix the problem: |
| 67 | + | One of the following imports might fix the problem: |
68 | 68 | |
|
69 |
| - | import concurrent.duration.DurationInt |
70 |
| - | import concurrent.duration.DurationLong |
71 |
| - | import concurrent.duration.DurationDouble |
72 |
| - | |
| 69 | + | import concurrent.duration.DurationInt |
| 70 | + | import concurrent.duration.DurationLong |
| 71 | + | import concurrent.duration.DurationDouble |
| 72 | + | |
0 commit comments