KT-446: wrong String.+=

This commit is contained in:
Alex Tkachman
2011-11-07 11:18:49 +01:00
parent d1787a5f6e
commit 0b6dffb79b
3 changed files with 11 additions and 1 deletions
@@ -0,0 +1,5 @@
fun box(): String {
var s = "s"
s += 1
return if (s == "s1") "OK" else "fail"
}