Files
kotlin-fork/idea/testData/inspectionsLocal/moveSuspiciousCallableReferenceIntoParentheses/lambdaInvoke.kt
T
2018-05-03 18:47:12 +03:00

7 lines
137 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test() {
val predicate = { _: String -> true }
"".let {<caret> predicate::invoke }("123")
}