Support :: references to properties in frontend
#KT-1183 In Progress
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
open class Base {
|
||||
val foo: Int = 42
|
||||
}
|
||||
|
||||
open class Derived : Base()
|
||||
|
||||
fun test() {
|
||||
val o = Base::foo
|
||||
o : KMemberProperty<Base, Int>
|
||||
o.get(Derived()) : Int
|
||||
}
|
||||
Reference in New Issue
Block a user