Call chain into sequence: fix false negative on implicit receiver

Part of KT-26650
This commit is contained in:
Toshiaki Kameyama
2018-09-10 12:18:33 +03:00
committed by Mikhail Glukhikh
parent 0285cae2fd
commit 539c55c5b2
4 changed files with 40 additions and 11 deletions
@@ -0,0 +1,5 @@
// WITH_RUNTIME
fun List<Int>.test(): List<Int> {
return asSequence().filter { it > 1 }.map { it * 2 }.toList()
}