Call chain into sequence: fix false negative on implicit receiver
Part of KT-26650
This commit is contained in:
committed by
Mikhail Glukhikh
parent
0285cae2fd
commit
539c55c5b2
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun List<Int>.test(): List<Int> {
|
||||
return asSequence().filter { it > 1 }.map { it * 2 }.toList()
|
||||
}
|
||||
Reference in New Issue
Block a user