Files
kotlin-fork/compiler/testData/psi/greatSyntacticShift/functionLiterals.kt
T
2015-09-25 08:29:25 +03:00

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)}
)
}