Convert IfThenToElvisIntention to inspection & decrease severity to INFO

#KT-16067 Fixed
This commit is contained in:
Dmitry Gridin
2019-06-03 20:27:35 +07:00
parent d8f32b1a0c
commit f2accb7b9e
101 changed files with 498 additions and 487 deletions
@@ -0,0 +1,7 @@
// PROBLEM: none
fun foo(p: String?): String? {
return <caret>if (p != null) p.bar() else "a"
}
fun String.bar(): String? = null