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 Array<List<Int>>.test() {
|
||||
<caret>flatMap { it }
|
||||
}
|
||||
Reference in New Issue
Block a user