Support listOfNotNull in SimplifiableCallChainInspection #KT-20410 Fixed

This commit is contained in:
Kirill Rakhman
2017-10-07 17:37:26 +03:00
committed by Mikhail Glukhikh
parent 82a9c35194
commit 91c35a6c59
5 changed files with 49 additions and 14 deletions
@@ -0,0 +1,4 @@
// WITH_RUNTIME
val s: String? = null
val x = <caret>listOf(s).filterNotNull()
@@ -0,0 +1,4 @@
// WITH_RUNTIME
val s: String? = null
val x = <caret>listOfNotNull(s)