// !CHECK_TYPE import kotlin.reflect.* var x: Int = 42 val y: String get() = "y" fun testX() { val xx = ::x checkSubtype>(xx) checkSubtype>(xx) checkSubtype>(xx) checkSubtype>(xx) checkSubtype>(xx) checkSubtype(xx.name) checkSubtype(xx.get()) xx.set(239) } fun testY() { val yy = ::y checkSubtype>(yy) checkSubtype>(yy) checkSubtype>(yy) checkSubtype>(yy) checkSubtype>(yy) checkSubtype(yy.name) checkSubtype(yy.get()) yy.set("yy") }