"Nested lambda has shadowed implicit parameter": show warning on the shadowing 'it' reference
This commit is contained in:
committed by
Vyacheslav Gerasimov
parent
7fdbcda91d
commit
97150cb0e2
+2
-2
@@ -4,8 +4,8 @@ fun bar(f: (Int) -> Unit) {}
|
||||
fun test() {
|
||||
foo {
|
||||
val s: String = it
|
||||
<caret>bar {
|
||||
val i: Int = it
|
||||
bar {
|
||||
val i: Int = it<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user