Files
kotlin-fork/compiler/testData/codegen/box/extensionProperties/genericValMultipleUpperBounds.kt
T
2016-11-09 21:41:12 +03:00

14 lines
252 B
Kotlin
Vendored

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