Why is string concatenation kept without side-effects?
fun main() { var s1 = "abc" val s2 = "def" s1.plus(s2) println(s1) // s1 = s1.plus(s2) // println(s1) } I expected abcdef, but got just abc. The commented code works fine, but seems awkward.