f38c0cf348
Similarly to FIR diagnostic tests. This commit enable all available test data and check the reported error messages by FIR. This helps identify some issues in formatting of FIR diagnostics. The changes on the test file are mechanically generated. Failed tests are disabled with `// IGNORE_FIR` and are re-enabled in the second commit.
20 lines
385 B
Kotlin
Vendored
20 lines
385 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
enum class E {
|
|
ENTRY;
|
|
|
|
companion object {
|
|
fun foo(): E = ENTRY
|
|
fun bar(): Array<E> = values()
|
|
fun baz(): E = valueOf("ENTRY")
|
|
val valuez = values()
|
|
}
|
|
|
|
fun oof(): E = ENTRY
|
|
fun rab(): Array<E> = values()
|
|
fun zab(): E = valueOf("ENTRY")
|
|
}
|
|
|
|
fun foo() = E.ENTRY
|
|
fun bar() = E.values()
|
|
fun baz() = E.valueOf("ENTRY")
|