// "Create function 'foo'" "true" class A(val n: T) { } fun test() { val a: A = A(1).foo { p: Int -> p + 1 } }