Fix Can't rename implicit lambda parameter 'it' when caret is placed right after the last character

#KT-14401 Fixed
This commit is contained in:
Kirill Rakhman
2017-03-02 23:16:00 +03:00
committed by Alexey Sedunov
parent e3391175d9
commit 1bad04db50
5 changed files with 63 additions and 43 deletions
@@ -0,0 +1,3 @@
fun f() {
val f: (Int) -> Int = { it<caret> + it }
}
@@ -0,0 +1,3 @@
fun f() {
val f: (Int) -> Int = { y -> y + y }
}