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