Do not suggest "convert ref to lambda" for reflect types #KT-19283 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user