Convert FoldInitializerAndIfToElvisIntention to inspection and decrease severity to INFO
#KT-19643 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun foo(p: List<String?>, b: Boolean) {
|
||||
var v: String? = p[0] ?: <caret>return
|
||||
if (b) v = null
|
||||
}
|
||||
Reference in New Issue
Block a user