Files
kotlin-fork/idea/testData/inspections/unusedLambdaExpressionBody/simple.kt
T
Vyacheslav Gerasimov b8ebc087e2 Add inspection for calls of function with lambda expression body
Added "Unused return value of a function with lambda expression body" inspection with quickfix "Remove '=' token from function declaration"

#KT-10393 Fixed
2017-03-15 00:22:31 +03:00

13 lines
117 B
Kotlin
Vendored

fun foo() {
bar()
val a = bar()
if (bar() != null) {
bar()
}
bar()()
}
fun bar() = {
}