Files
2024-02-16 10:19:38 +00:00

44 lines
666 B
Kotlin
Vendored

val test1: Int
field = A.invoke(i = 42)
get
val test2: Int
field = En.X.invoke(i = 42)
get
enum class En : Enum<En> {
X = En()
private constructor() /* primary */ {
super/*Enum*/<En>()
/* <init>() */
}
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
val entries: EnumEntries<En>
get(): EnumEntries<En> /* Synthetic body for ENUM_ENTRIES */
}
object A {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
operator fun A.invoke(i: Int): Int {
return i
}
operator fun En.invoke(i: Int): Int {
return i
}