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

25 lines
499 B
Plaintext
Vendored

// "Change to short enum entry super constructor in the whole project" "true"
enum class First(val colorCode: Int) {
RED(0xff0000),
GREEN(0x00ff00), BLUE(0x0000ff)
}
enum class Second(val dirCode: Int) {
NORTH(1) {
override fun dir(): String = "N"
},
SOUTH(2) {
override fun dir(): String = "S"
},
WEST(3) {
override fun dir(): String = "W"
},
EAST(4) {
override fun dir(): String = "E"
};
abstract fun dir(): String
}