Add test for lambda as last expression in lambda

This commit is contained in:
Stanislav Erokhin
2017-08-18 12:07:13 +03:00
parent 74e07b6580
commit 9f71de5f66
5 changed files with 29 additions and 0 deletions
@@ -0,0 +1,5 @@
val foo: ((String) -> String) = run {
{ it }
}
fun box() = foo("OK")