vngantk
PHondogo
fun test(ref v: Int) { ++v } var x = 1 test(x) println(x) // 2
fun test(ref v: Any?) { v = Test() } var x: Any? = null test(x) // x points to created in test object of class Test
test(ref x)
A modern programming language that makes developers happier.