FIR checker: warn useless elvis
This commit is contained in:
committed by
TeamCityServer
parent
b2005302dc
commit
24d792fb49
+1
-1
@@ -27,6 +27,6 @@ fun case3() {
|
||||
|
||||
// TESTCASE NUMBER: 4
|
||||
fun case4() {
|
||||
val x = null ?: null
|
||||
val x = null <!USELESS_ELVIS_RIGHT_IS_NULL!>?: null<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Nothing?")!>x<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user