mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
15 lines
208 B
Kotlin
Vendored
15 lines
208 B
Kotlin
Vendored
// "Create enum constant 'A'" "false"
|
|
// ACTION: Convert to block body
|
|
// ACTION: Create object 'A'
|
|
// ERROR: Unresolved reference: A
|
|
package p
|
|
|
|
fun foo(): X = E.<caret>A
|
|
|
|
enum class E {
|
|
|
|
}
|
|
|
|
open class X {
|
|
|
|
} |