mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
8 lines
148 B
Kotlin
Vendored
8 lines
148 B
Kotlin
Vendored
fun <X : Any> foo(x: X): String {
|
|
fun <Y : Any> bar(y: Y) =
|
|
x.toString() + y.toString()
|
|
|
|
return bar("K")
|
|
}
|
|
|
|
fun box() = foo("O") |