Nested lambda has shadowed implicit parameter: do not report when lambda is in scope function
#KT-30173 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
daf8df9e4b
commit
a2adfd0cc0
+10
@@ -0,0 +1,10 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun main() {
|
||||
listOf(42).map {
|
||||
it.takeIf {
|
||||
<caret>it == 42
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user