19 lines
149 B
Kotlin
Vendored
19 lines
149 B
Kotlin
Vendored
class Foo
|
|
class Bar
|
|
|
|
fun a(vararg a : Any) = a
|
|
|
|
fun test() {
|
|
a(1
|
|
, {}
|
|
, { -> 1}
|
|
, {1}
|
|
, {x}
|
|
, {-> 1}
|
|
, {x -> 1}
|
|
, {x, y -> 1}
|
|
, {x -> 1}
|
|
, {(x)}
|
|
)
|
|
}
|