Don't suggest map{}.filterNotNull() -> mapNotNull{} on primitive array

So #KT-21556 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-05-14 06:38:58 +03:00
committed by Mikhail Glukhikh
parent e770aed084
commit bde9a57c9e
23 changed files with 206 additions and 5 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
fun test() {
val array: IntArray = intArrayOf(0, 1, 2, 3)
array.<caret>map { "$it-$it" }.joinToString()
}