10 lines
191 B
Plaintext
10 lines
191 B
Plaintext
fun test() {
|
|
class Test{
|
|
fun get(a: Int, b: Int, c: Int = 1, d: Int = 1, fn: (i: Int) -> Int) : Int = 0
|
|
}
|
|
val test = Test()
|
|
test[1, 2, 3, 4, { i ->
|
|
i
|
|
}]
|
|
}
|