Don't report suspicious callable reference on invoke with parameters

So #KT-23465 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-04-17 12:17:04 +03:00
committed by Mikhail Glukhikh
parent 13356d32fd
commit b5da48c566
3 changed files with 19 additions and 2 deletions
@@ -0,0 +1,7 @@
// PROBLEM: none
// WITH_RUNTIME
fun test() {
val predicate = { _: String -> true }
"".let {<caret> predicate::invoke }("123")
}