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,6 @@
<html>
<body>
This inspection reports calls with unused return value when the function is defined with lambda as expression body.
Happens when someone accidentally puts '=' between function header and body block.
</body>
</html>