// COMPILATION_ERRORS

fun foo() {
    a1.filter { (x, y) -> }
    a2.filter { (x) -> }
    a3.filter { z, (x, y) -> }
    a4.filter { (x, y), z -> }
    a5.filter { q, (x, y), z -> }
    a6.filter { (x, y), (z, w) -> }

    a7.filter { (x, y): Type, (z: Type), (w, u: T) : V -> foo7() }
}
