Files
kotlin-fork/idea/testData/quickfix/migration/enumConstructor/withNamedArgument.kt
T

9 lines
195 B
Kotlin

// "Change to short enum entry super constructor" "true"
enum class SimpleEnum(val z: String = "xxx") {
FIRST(),
SECOND: SimpleEnum(z = "42")<caret>,
LAST("13");
fun foo() = z
}