blob: 4d852416c1b41233e107e051fb5283bbaaccf713 [file]
// RUN_PIPELINE_TILL: FRONTEND
fun foo() = withIntList {
withStringSequence {
forEach { line ->
line.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>rem<!>(1)
line.length
}
}
}
fun withIntList(x: List<Int>.() -> Unit) {}
fun <T> withStringSequence(action: Sequence<String>.() -> T): T = TODO()
/* GENERATED_FIR_TAGS: functionDeclaration, functionalType, integerLiteral, lambdaLiteral, nullableType, typeParameter,
typeWithExtension */