flatMap call could be simplified to flatten(): Fix false positive with Array

#KT-33204 Fixed
This commit is contained in:
Toshiaki Kameyama
2019-08-08 12:40:17 +09:00
committed by Dmitry Gridin
parent 7ff01b02a9
commit c0f896c96a
7 changed files with 51 additions and 0 deletions
@@ -0,0 +1,5 @@
// PROBLEM: none
// WITH_RUNTIME
fun Array<List<Int>>.test() {
<caret>flatMap { it }
}