Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
codegen
/
box
/
destructuringDeclInLambdaParam
/
lambdaInLambda.kt
blob: a7a5912ca655c001f474314576009644d27f435b [
file
]
// ISSUE: KT-67185
// WITH_STDLIB
fun noop
()
{}
fun foo
(
list
:
List
<
Pair
<
String
,
String
>>)
{
list
.
map
{
(
a
,
b
)
->
{
noop
()
}
}
.
forEach
{
it
()
}
}
fun box
():
String
{
val list
=
listOf
(
"a"
to
"b"
,
"c"
to
""
)
foo
(
list
)
return
"OK"
}