Files
kotlin/compiler/testData/codegen/controlStructures/ifBlock.kt
2015-10-07 08:46:34 +03:00

11 lines
213 B
Kotlin
Vendored

import java.util.*
fun concat(l: List<String>): String? {
val sb = StringBuilder()
for(s in l) {
val x = if(l.size > 1) { "T" } else { "F" };
sb.append(x)
}
return sb.toString()
}