6 lines
86 B
Kotlin
6 lines
86 B
Kotlin
fun <T> test(a: Int) = {(a: Int) -> a }
|
|
class Test<T>
|
|
|
|
fun foo() {
|
|
test<Int>(12)
|
|
} |