mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
10 lines
136 B
Plaintext
10 lines
136 B
Plaintext
fun f() : String? {
|
|
val x = StringBuilder();
|
|
g(x);
|
|
return x.toString();
|
|
}
|
|
|
|
fun g(sb: StringBuilder): Unit {
|
|
sb.append("foo");
|
|
}
|