"Nested lambda has shadowed implicit parameter": add quickfix to rename shadowing 'it'
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
97150cb0e2
commit
b7c4248524
+12
@@ -0,0 +1,12 @@
|
||||
// FIX: Rename 'it'
|
||||
|
||||
fun foo(f: (String) -> Unit) {}
|
||||
fun bar(s: String) {}
|
||||
|
||||
fun test() {
|
||||
foo {
|
||||
foo {
|
||||
bar(it<caret>)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user