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,4 @@
// WITH_RUNTIME
fun test() {
arrayOf(arrayOf(1, 2), arrayOf(3)).flatten()
}