class A fun foo(a: A) = a fun test() { foo { it } foo { x -> x} foo { (x: Int) -> x} }