Rename: intention tests "ifNullToElvis" --> "foldInitializerAndIfToElvis"
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(p: List<String?>, b: Boolean) {
|
||||
var v = p[0]
|
||||
<caret>if (v == null) return
|
||||
if (b) v = null
|
||||
}
|
||||
Reference in New Issue
Block a user