21e64e02bd
Such code may behave unexpectedly when compiled to JVM
11 lines
156 B
Kotlin
Vendored
11 lines
156 B
Kotlin
Vendored
import java.io.Serializable
|
|
|
|
val <T> T.valProp: T where T : Number, T : Serializable
|
|
get() = this
|
|
|
|
fun box(): String {
|
|
0.valProp
|
|
|
|
return "OK"
|
|
}
|