fun foo() { bar { } } fun bar(a: Any) = a fun bar(f: () -> T): T = f()