"Remove redundant let": fix destructuring declaration false positive
#KT-26042 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
7e8521d9dc
commit
2d2f1125a9
+7
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun test() {
|
||||
(1 to 2).let<caret> { (i, j) -> foo(1, 2) }
|
||||
}
|
||||
|
||||
fun foo(i: Int, j: Int) = i + j
|
||||
Reference in New Issue
Block a user