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
This commit is contained in:
Vyacheslav Gerasimov
2017-03-13 19:56:59 +03:00
parent 087551ad61
commit b8ebc087e2
11 changed files with 173 additions and 0 deletions
@@ -0,0 +1,9 @@
// "Remove '=' token from function declaration" "true"
fun foo() {
<caret>bar()
}
fun bar() = {
}