9 lines
142 B
Kotlin
9 lines
142 B
Kotlin
// "Create function 'foo'" "true"
|
|
|
|
class A<T>(val n: T) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
val a: A<Int> = A(1).<caret>foo(2, "2") { (p: Int) -> p + 1 }
|
|
} |