9b11b5300c
I had to fix a few incorrect tests using something like x!! in Elvis right part, and also one bug in our code
7 lines
143 B
Kotlin
Vendored
7 lines
143 B
Kotlin
Vendored
fun test(x: Any?): Any {
|
|
val z = x ?: x!!
|
|
// x is not null in both branches
|
|
<!DEBUG_INFO_SMARTCAST!>x<!>.hashCode()
|
|
return z
|
|
}
|