Do not suggest "convert ref to lambda" for reflect types #KT-19283 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-12-21 18:45:36 +03:00
parent fc93e7a727
commit 3f00592443
5 changed files with 69 additions and 2 deletions
@@ -0,0 +1,12 @@
// IS_APPLICABLE: false
import kotlin.reflect.KFunction
fun <P : Any> p(p: KFunction<P>) {}
class B {
fun getS(): String = ""
init {
p(<caret>this::getS)
}
}