"Nested lambda has shadowed implicit parameter": add quickfix to rename shadowing 'it'

This commit is contained in:
Toshiaki Kameyama
2018-08-29 10:59:53 +09:00
committed by Vyacheslav Gerasimov
parent 97150cb0e2
commit b7c4248524
10 changed files with 61 additions and 8 deletions
@@ -0,0 +1,12 @@
// FIX: Rename 'it'
fun foo(f: (String) -> Unit) {}
fun bar(s: String) {}
fun test() {
foo {
foo {
bar(it<caret>)
}
}
}