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