"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,10 +2,12 @@
|
||||
|
||||
fun foo(f: (String) -> Unit) {}
|
||||
fun bar(f: String.() -> Unit) {}
|
||||
fun baz(s: String) {}
|
||||
|
||||
fun test() {
|
||||
foo {
|
||||
<caret>bar {
|
||||
baz(it<caret>)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user