Files
kotlin-fork/compiler/testData/codegen/box/extensionProperties/genericValMultipleUpperBounds.kt
T
2018-06-09 19:15:38 +03:00

15 lines
285 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
import java.io.Serializable
val <T> T.valProp: T where T : Number, T : Serializable
get() = this
fun box(): String {
0.valProp
return "OK"
}