FIR checker: warn useless elvis

This commit is contained in:
Jinseong Jeon
2021-04-19 10:12:20 -07:00
committed by TeamCityServer
parent b2005302dc
commit 24d792fb49
44 changed files with 171 additions and 109 deletions
@@ -8,7 +8,7 @@ fun testBinary2() {
}
fun testElvis1() {
todo() ?: ""
todo() <!USELESS_ELVIS!>?: ""<!>
}
fun testElvis2(s: String?) {
@@ -36,4 +36,4 @@ fun returnInBinary2(): Boolean {
}
fun todo(): Nothing = throw Exception()
fun bar() {}
fun bar() {}