Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/callableReference/property/extensionFromClass.kt
T
Alexander Udalov aa4d6a4ea7 Support :: references to properties in frontend
#KT-1183 In Progress
2014-07-02 01:26:18 +04:00

12 lines
210 B
Kotlin

class A {
fun test() {
::foo : KExtensionProperty<A, String>
::bar : KMutableExtensionProperty<A, Int>
}
}
val A.foo: String get() = ""
var A.bar: Int
get() = 42
set(value) { }