mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
9 lines
164 B
Kotlin
Vendored
9 lines
164 B
Kotlin
Vendored
operator fun String?.plus(p: String): String {
|
|
return "" + this
|
|
}
|
|
|
|
fun test(a: String?, b: String): String {
|
|
return a + b
|
|
}
|
|
|
|
fun box() = test("OK", " Fail") |