Move callable reference diagnostic tests to non-stdlib
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// !DIAGNOSTICS:-UNUSED_VARIABLE
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
class A(var g: A) {
|
||||
val f: Int = 0
|
||||
|
||||
fun test() {
|
||||
val fRef: KMemberProperty<A, Int> = ::f
|
||||
val gRef: KMutableMemberProperty<A, A> = ::g
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user