Fix potential leak in "unused lambda expression body" fix

This commit is contained in:
Mikhail Glukhikh
2017-12-27 17:49:35 +03:00
parent 8e23ca597d
commit 2e71691ab2
6 changed files with 12 additions and 19 deletions
@@ -1 +0,0 @@
org.jetbrains.kotlin.idea.inspections.UnusedLambdaExpressionBodyInspection
@@ -1,9 +0,0 @@
// "Remove '=' token from function declaration" "true"
fun foo() {
<caret>bar()
}
fun bar() = {
}
@@ -1,9 +0,0 @@
// "Remove '=' token from function declaration" "true"
fun foo() {
bar()
}
fun bar() {
}