mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
8 lines
125 B
Kotlin
Vendored
8 lines
125 B
Kotlin
Vendored
var collector: String = ""
|
|
set(it) { field += it }
|
|
|
|
fun append(s: String): String {
|
|
collector = s;
|
|
return collector;
|
|
}
|