|
| 1 | +-- [E046] Cyclic Error: tests/neg/i7820.scala:1:23 --------------------------------------------------------------------- |
| 2 | +1 |trait A1 { type F[X <: F[_, _], Y] } // error: cyclic reference involving type F |
| 3 | + | ^ |
| 4 | + | Cyclic reference involving type F |
| 5 | + | |
| 6 | + | Run with -explain-cyclic for more details. |
| 7 | + | |
| 8 | + | longer explanation available when compiling with `-explain` |
| 9 | +-- [E046] Cyclic Error: tests/neg/i7820.scala:2:23 --------------------------------------------------------------------- |
| 10 | +2 |trait A2 { type F[X <: F, Y] } // error: cyclic reference involving type F |
| 11 | + | ^ |
| 12 | + | Cyclic reference involving type F |
| 13 | + | |
| 14 | + | Run with -explain-cyclic for more details. |
| 15 | + | |
| 16 | + | longer explanation available when compiling with `-explain` |
| 17 | +-- [E046] Cyclic Error: tests/neg/i7820.scala:3:23 --------------------------------------------------------------------- |
| 18 | +3 |trait A3 { type F[X >: F, Y] } // error: cyclic reference involving type F |
| 19 | + | ^ |
| 20 | + | Cyclic reference involving type F |
| 21 | + | |
| 22 | + | Run with -explain-cyclic for more details. |
| 23 | + | |
| 24 | + | longer explanation available when compiling with `-explain` |
| 25 | +-- Warning: tests/neg/i7820.scala:1:25 --------------------------------------------------------------------------------- |
| 26 | +1 |trait A1 { type F[X <: F[_, _], Y] } // error: cyclic reference involving type F |
| 27 | + | ^ |
| 28 | + | `_` is deprecated for wildcard arguments of types: use `?` instead |
| 29 | + | This construct can be rewritten automatically under -rewrite -source 3.4-migration. |
| 30 | +-- Warning: tests/neg/i7820.scala:1:28 --------------------------------------------------------------------------------- |
| 31 | +1 |trait A1 { type F[X <: F[_, _], Y] } // error: cyclic reference involving type F |
| 32 | + | ^ |
| 33 | + | `_` is deprecated for wildcard arguments of types: use `?` instead |
| 34 | + | This construct can be rewritten automatically under -rewrite -source 3.4-migration. |
0 commit comments