Fix "move suspicious reference into parentheses" for functional types

So #KT-21743 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-02-19 17:44:37 +03:00
committed by Mikhail Glukhikh
parent 3fbf85dc37
commit fbd06dc74f
8 changed files with 82 additions and 10 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
class Test {
val lambda = { s: String -> true }
fun test() {
"".let {<caret> lambda::invoke }
}
}