flatMap call could be simplified to flatten(): Fix false positive with Array
#KT-33204 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
7ff01b02a9
commit
c0f896c96a
@@ -0,0 +1,5 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
fun test() {
|
||||
arrayOf(listOf(1), listOf(2)).flatMap<caret> { it }
|
||||
}
|
||||
Reference in New Issue
Block a user