Control Flow: Fix CFG usage info for double-colon expressions

#KT-12551 Fixed
 #KT-17092 Fixed
This commit is contained in:
Alexey Sedunov
2017-07-06 16:15:21 +03:00
parent 216b28ec55
commit 2e76a76088
7 changed files with 35 additions and 9 deletions
@@ -0,0 +1,8 @@
// "Create function 'checkProperty'" "true"
internal object model {
val layer = ""
}
fun main(args: Array<String>) {
<caret>checkProperty(model.layer::class)
}
@@ -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.
}