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