fef4c8ccd8
Also add a test for obsolete KT-14755 #KT-16929 Fixed
13 lines
198 B
Kotlin
Vendored
13 lines
198 B
Kotlin
Vendored
class Generic<P : Any>(val p: P)
|
|
|
|
class Host {
|
|
fun t() {}
|
|
val v = "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
Generic(Host()).p::class
|
|
(Generic(Host()).p::t)()
|
|
return (Generic(Host()).p::v)()
|
|
}
|