|
1 |
| --- Error: tests/init/neg/enum-desugared.scala:17:15 -------------------------------------------------------------------- |
2 |
| -17 | Array(this.LazyErrorId, this.NoExplanationID) // error // error |
3 |
| - | ^^^^^^^^^^^^^^^^ |
4 |
| - | Cannot prove that the value is fully initialized. May only use initialized value as method arguments. |
| 1 | +-- Error: tests/init/neg/enum-desugared.scala:17:10 -------------------------------------------------------------------- |
| 2 | +17 | Array(this.LazyErrorId, this.NoExplanationID) // error |
| 3 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 4 | + | Cannot prove that the value is fully initialized. Only initialized values may be used as arguments. |
5 | 5 | |
|
6 | 6 | | The unsafe promotion may cause the following problem:
|
7 | 7 | | Calling the external method method name may cause initialization errors. Calling trace:
|
8 |
| - | -> Array(this.LazyErrorId, this.NoExplanationID) // error // error [ enum-desugared.scala:17 ] |
9 |
| - | ^^^^^^^^^^^^^^^^ |
| 8 | + | -> Array(this.LazyErrorId, this.NoExplanationID) // error [ enum-desugared.scala:17 ] |
| 9 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
10 | 10 | | -> override def productPrefix: String = this.name() [ enum-desugared.scala:29 ]
|
11 | 11 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
12 |
| --- Error: tests/init/neg/enum-desugared.scala:17:33 -------------------------------------------------------------------- |
13 |
| -17 | Array(this.LazyErrorId, this.NoExplanationID) // error // error |
14 |
| - | ^^^^^^^^^^^^^^^^^^^^ |
15 |
| - | Cannot prove that the value is fully initialized. May only use initialized value as method arguments. |
16 |
| - | |
17 |
| - | The unsafe promotion may cause the following problem: |
18 |
| - | Calling the external method method ordinal may cause initialization errors. Calling trace: |
19 |
| - | -> Array(this.LazyErrorId, this.NoExplanationID) // error // error [ enum-desugared.scala:17 ] |
20 |
| - | ^^^^^^^^^^^^^^^^^^^^ |
21 |
| - | -> def errorNumber: Int = this.ordinal() - 2 [ enum-desugared.scala:8 ] |
22 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
0 commit comments