[FIR] KT-55503: Fix current behavior
This commit is contained in:
committed by
Space Team
parent
8b286577c7
commit
906b16b41e
@@ -0,0 +1,12 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user