Control Flow: Fix CFG usage info for double-colon expressions
#KT-12551 Fixed #KT-17092 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Create function 'checkProperty'" "true"
|
||||
internal object model {
|
||||
val layer = ""
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
<caret>checkProperty(model.layer::class)
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
// "Create function 'checkProperty'" "true"
|
||||
internal object model {
|
||||
val layer = ""
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
checkProperty(model.layer::class)
|
||||
}
|
||||
|
||||
fun checkProperty(kClass: KClass<out String>) {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user