regression test for KT-5953

This commit is contained in:
Dmitry Jemerov
2015-03-24 21:05:23 +01:00
parent f6093274ab
commit 0467bba7a6
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,11 @@
fun box(): String {
val res = (1..3).map { it ->
if (it == 1)
2
};
var result = ""
for (i in res)
result += " "
return if (result == " ") "OK" else result
}