Files
kotlin-fork/idea/testData/decompiler/decompiledText/Enum/Enum.kt
T
Mikhail Glukhikh 67cce57aeb Decompiler & stub builder fixed accordingly with new enum syntax.
Companion object now directly follows enum entries to avoid having them at the middle.
Some decompiler & stub builder tests fixed accordingly.
2015-05-15 16:13:29 +03:00

16 lines
183 B
Kotlin

package test
import dependency.*
enum class Enum {
A B C D E F {
override fun f() = 4
}
companion object {
val c: Int = 1
}
open fun f() = 3
}