mutable parameters kotlin
snippet in kotlin

mutable parameters kotlin

user4794

fun a(b: Int) {
   var b = b
   b++ // this compiles
}