blob: e485684b4da59de4d1675eb022a6c4a76a360e38 [file] [log] [blame]
fun box() : String {
var i = 0
{
i++
}()
i++ //the problem is here
// i = i + 1 //this way it works
return if (i == 2) "OK" else "fail"
}