// RUN_PIPELINE_TILL: FRONTEND
fun foo(f: String.() -> Int) {}
val test = foo(<!TYPE_MISMATCH, TYPE_MISMATCH, TYPE_MISMATCH!>fun <!EXPECTED_PARAMETERS_NUMBER_MISMATCH!>()<!> = <!UNRESOLVED_REFERENCE!>length<!><!>)

/* GENERATED_FIR_TAGS: anonymousFunction, functionDeclaration, functionalType, propertyDeclaration, typeWithExtension */
