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