Support :: references to properties in frontend
#KT-1183 In Progress
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
class A<T>(val t: T) {
|
||||
val foo: T = t
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
val x = A<String>::foo
|
||||
x : KMemberProperty<A<String>, String>
|
||||
x : KMemberProperty<A<String>, Any?>
|
||||
|
||||
val y = A<*>::foo
|
||||
y : KMemberProperty<A<*>, Any?>
|
||||
}
|
||||
Reference in New Issue
Block a user