Files
kotlin-fork/compiler/testData/codegen/box/extensionProperties/genericValMultipleUpperBounds.kt
T

13 lines
180 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
import java.io.Serializable
val <T> T.valProp: T where T : Number, T : Serializable
get() = this
fun box(): String {
0.valProp
return "OK"
}