mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
17 lines
305 B
Kotlin
Vendored
17 lines
305 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM
|
|
|
|
fun f(s: String?, t: String): String {
|
|
return s.plus(t)
|
|
}
|
|
|
|
fun g(s: String, t: Any?): String {
|
|
return "$s$t"
|
|
}
|
|
|
|
fun h(s: String, t: Any?): String {
|
|
return s + t
|
|
}
|
|
|
|
// 0 valueOf
|
|
// 0 NEW java/lang/StringBuilder
|
|
// 3 INVOKESTATIC kotlin/jvm/internal/Intrinsics.stringPlus |