JS: add test to prove that anonymous function that declares lambda is translated correctly. See KT-11589
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun box(): String {
|
||||
val a = (fun(): String {
|
||||
val o = { "O" }
|
||||
return o() + "K"
|
||||
})
|
||||
return a()
|
||||
}
|
||||
Reference in New Issue
Block a user