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