blob: d95dc23345375b1a46547b33ec2a065ac3d93d95 [file] [log] [blame]
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()