"Nested lambda has shadowed implicit parameter": minor improvements

This commit is contained in:
Toshiaki Kameyama
2018-08-30 15:07:46 +09:00
committed by Vyacheslav Gerasimov
parent b7c4248524
commit fba539debf
3 changed files with 19 additions and 28 deletions
@@ -1,4 +1,4 @@
// FIX: Rename 'it'
// FIX: Replace 'it' with explicit parameter
fun foo(f: (String) -> Unit) {}
fun bar(s: String) {}
@@ -6,6 +6,8 @@ fun bar(s: String) {}
fun test() {
foo {
foo {
bar(it)
bar(it)
bar(it<caret>)
}
}