Files
kotlin-fork/compiler/testData/codegen/box/extensionProperties/genericValMultipleUpperBounds.kt
T
2019-11-19 11:00:09 +03:00

14 lines
210 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// 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"
}