fun bar(a: Int, b: (Boolean) -> Unit) { } class A { fun foo(x: String, y: () -> String) { } }