|
1 |
| --- Error: tests/neg/i15507.scala:2:40 ---------------------------------------------------------------------------------- |
2 |
| -2 | type _NestedSet1[X] = Set[_NestedSet1[?]] // error |
| 1 | +-- Error: tests/neg/i15507.scala:3:40 ---------------------------------------------------------------------------------- |
| 2 | +3 | type _NestedSet1[X] = Set[_NestedSet1[?]] // error |
3 | 3 | | ^
|
4 | 4 | | no wildcard type allowed here
|
5 |
| --- Error: tests/neg/i15507.scala:3:41 ---------------------------------------------------------------------------------- |
6 |
| -3 | type _NestedSet2[X] <: Set[_NestedSet2[?]] // error |
| 5 | +-- Error: tests/neg/i15507.scala:4:41 ---------------------------------------------------------------------------------- |
| 6 | +4 | type _NestedSet2[X] <: Set[_NestedSet2[?]] // error |
7 | 7 | | ^
|
8 | 8 | | no wildcard type allowed here
|
9 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:5:7 --------------------------------------------------------------------- |
10 |
| -5 | type _NestedSet4[X] >: Set[_NestedSet4[X]] // error |
| 9 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:6:7 --------------------------------------------------------------------- |
| 10 | +6 | type _NestedSet4[X] >: Set[_NestedSet4[X]] // error |
11 | 11 | | ^
|
12 | 12 | | illegal cyclic type reference: lower bound ... of type _NestedSet4 refers back to the type itself
|
13 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:6:7 --------------------------------------------------------------------- |
14 |
| -6 | type _NestedSet5[X] = Set[_NestedSet5[X]] // error |
| 13 | + | |
| 14 | + | The error occurred while trying to compute the signature of type _NestedSet4 |
| 15 | + | which required to explore type _NestedSet4 for cyclic references |
| 16 | + | |
| 17 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
| 18 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:7:7 --------------------------------------------------------------------- |
| 19 | +7 | type _NestedSet5[X] = Set[_NestedSet5[X]] // error |
15 | 20 | | ^
|
16 | 21 | | illegal cyclic type reference: alias ... of type _NestedSet5 refers back to the type itself
|
17 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:7:7 --------------------------------------------------------------------- |
18 |
| -7 | type _NestedSet6[X] = Set[_NestedSet6[Int]] // error |
| 22 | + | |
| 23 | + | The error occurred while trying to compute the signature of type _NestedSet5 |
| 24 | + | which required to explore type _NestedSet5 for cyclic references |
| 25 | + | |
| 26 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
| 27 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:8:7 --------------------------------------------------------------------- |
| 28 | +8 | type _NestedSet6[X] = Set[_NestedSet6[Int]] // error |
19 | 29 | | ^
|
20 | 30 | | illegal cyclic type reference: alias ... of type _NestedSet6 refers back to the type itself
|
21 |
| --- Error: tests/neg/i15507.scala:9:43 ---------------------------------------------------------------------------------- |
22 |
| -9 | type _NestedList1[X] = List[_NestedList1[?]] // error |
23 |
| - | ^ |
24 |
| - | no wildcard type allowed here |
25 |
| --- Error: tests/neg/i15507.scala:10:44 --------------------------------------------------------------------------------- |
26 |
| -10 | type _NestedList2[X] <: List[_NestedList2[?]] // error |
| 31 | + | |
| 32 | + | The error occurred while trying to compute the signature of type _NestedSet6 |
| 33 | + | which required to explore type _NestedSet6 for cyclic references |
| 34 | + | |
| 35 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
| 36 | +-- Error: tests/neg/i15507.scala:10:43 --------------------------------------------------------------------------------- |
| 37 | +10 | type _NestedList1[X] = List[_NestedList1[?]] // error |
| 38 | + | ^ |
| 39 | + | no wildcard type allowed here |
| 40 | +-- Error: tests/neg/i15507.scala:11:44 --------------------------------------------------------------------------------- |
| 41 | +11 | type _NestedList2[X] <: List[_NestedList2[?]] // error |
27 | 42 | | ^
|
28 | 43 | | no wildcard type allowed here
|
29 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:12:7 -------------------------------------------------------------------- |
30 |
| -12 | type _NestedList4[X] >: List[_NestedList4[X]] // error |
| 44 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:13:7 -------------------------------------------------------------------- |
| 45 | +13 | type _NestedList4[X] >: List[_NestedList4[X]] // error |
31 | 46 | | ^
|
32 | 47 | | illegal cyclic type reference: lower bound ... of type _NestedList4 refers back to the type itself
|
33 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:13:7 -------------------------------------------------------------------- |
34 |
| -13 | type _NestedList5[X] = List[_NestedList5[X]] // error |
| 48 | + | |
| 49 | + | The error occurred while trying to compute the signature of type _NestedList4 |
| 50 | + | which required to explore type _NestedList4 for cyclic references |
| 51 | + | |
| 52 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
| 53 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:14:7 -------------------------------------------------------------------- |
| 54 | +14 | type _NestedList5[X] = List[_NestedList5[X]] // error |
35 | 55 | | ^
|
36 | 56 | | illegal cyclic type reference: alias ... of type _NestedList5 refers back to the type itself
|
37 |
| --- [E140] Cyclic Error: tests/neg/i15507.scala:14:7 -------------------------------------------------------------------- |
38 |
| -14 | type _NestedList6[X] = List[_NestedList6[Int]] // error |
| 57 | + | |
| 58 | + | The error occurred while trying to compute the signature of type _NestedList5 |
| 59 | + | which required to explore type _NestedList5 for cyclic references |
| 60 | + | |
| 61 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
| 62 | +-- [E140] Cyclic Error: tests/neg/i15507.scala:15:7 -------------------------------------------------------------------- |
| 63 | +15 | type _NestedList6[X] = List[_NestedList6[Int]] // error |
39 | 64 | | ^
|
40 | 65 | | illegal cyclic type reference: alias ... of type _NestedList6 refers back to the type itself
|
| 66 | + | |
| 67 | + | The error occurred while trying to compute the signature of type _NestedList6 |
| 68 | + | which required to explore type _NestedList6 for cyclic references |
| 69 | + | |
| 70 | + | Run with both -explain-cyclic and -Ydebug-cyclic to see full stack trace. |
0 commit comments