|
| 1 | +-- Error: tests/neg/i12284.scala:5:36 ---------------------------------------------------------------------------------- |
| 2 | +5 | val xx: Vector[F[_]] = deps.map(i => magic(i)) // error // error // error |
| 3 | + | ^^^^^^^^^^^^^ |
| 4 | + | return type B of lambda cannot be made hygienic; |
| 5 | + | it is not a supertype of the hygienic type Any |
| 6 | +-- Error: tests/neg/i12284.scala:5:33 ---------------------------------------------------------------------------------- |
| 7 | +5 | val xx: Vector[F[_]] = deps.map(i => magic(i)) // error // error // error |
| 8 | + | ^ |
| 9 | + | Inaccessible variables captured in instantation of type variable B. |
| 10 | + | F[i.A] was fixed to Any, |
| 11 | + | but the latter type does not conform to the upper bound F[?] |
| 12 | +-- Error: tests/neg/i12284.scala:5:6 ----------------------------------------------------------------------------------- |
| 13 | +5 | val xx: Vector[F[_]] = deps.map(i => magic(i)) // error // error // error |
| 14 | + | ^ |
| 15 | + | Inaccessible variables captured in instantation of type variable B. |
| 16 | + | F[i.A] was fixed to Any, |
| 17 | + | but the latter type does not conform to the upper bound F[?] |
| 18 | +-- Error: tests/neg/i12284.scala:4:2 ----------------------------------------------------------------------------------- |
| 19 | +4 | val deps: Vector[I[F, _]] = ??? // error |
| 20 | + | ^ |
| 21 | + | Inaccessible variables captured in instantation of type variable B. |
| 22 | + | F[i.A] was fixed to Any, |
| 23 | + | but the latter type does not conform to the upper bound F[?] |
| 24 | +-- Error: tests/neg/i12284.scala:3:4 ----------------------------------------------------------------------------------- |
| 25 | +3 |def magic[F[_], A](in: I[F, A]): F[A] = // error // error |
| 26 | + | ^ |
| 27 | + | Inaccessible variables captured in instantation of type variable B. |
| 28 | + | F[i.A] was fixed to Any, |
| 29 | + | but the latter type does not conform to the upper bound F[?] |
| 30 | +-- Error: tests/neg/i12284.scala:3:0 ----------------------------------------------------------------------------------- |
| 31 | +3 |def magic[F[_], A](in: I[F, A]): F[A] = // error // error |
| 32 | + |^ |
| 33 | + |Inaccessible variables captured in instantation of type variable B. |
| 34 | + |F[i.A] was fixed to Any, |
| 35 | + |but the latter type does not conform to the upper bound F[?] |
| 36 | +-- Error: tests/neg/i12284.scala:1:0 ----------------------------------------------------------------------------------- |
| 37 | +1 |trait I[F[_], A] // error |
| 38 | + |^ |
| 39 | + |Inaccessible variables captured in instantation of type variable B. |
| 40 | + |F[i.A] was fixed to Any, |
| 41 | + |but the latter type does not conform to the upper bound F[?] |
0 commit comments