fun f() : String? { val x = StringBuilder(); g(x); return x.toString(); } fun g(sb: StringBuilder): Unit { sb.append("foo"); }