mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
14 lines
214 B
Kotlin
Vendored
14 lines
214 B
Kotlin
Vendored
package test
|
|
|
|
class A
|
|
|
|
fun call(a: String, b: String, c: String, d: String, e: String, f: Any) {
|
|
|
|
}
|
|
|
|
inline fun <reified T: Any> Any?.foo(): T {
|
|
call("1", "2", "3", "4", "5", this as T)
|
|
return this as T
|
|
}
|
|
|