fun test() { C().foo { it + 1 } } class C { fun foo(f: (Int) -> Int) {} }