Replace "flatMap -> flatten" inspection with abstract "simplifiable call"

Related to KT-30501
This commit is contained in:
Mikhail Glukhikh
2019-05-06 11:46:56 +03:00
parent 6101b5e6ba
commit 4a5cbe0443
17 changed files with 84 additions and 68 deletions
@@ -0,0 +1,5 @@
// PROBLEM: none
// WITH_RUNTIME
fun test() {
listOf(listOf(1)).flatMap<caret> { it + 1 }
}