ribesg
01/23/2020, 10:29 AMvar result: Result<T>? = null
// ...
return result!!.getOrThrow() // Expression of type kotlin.Result cannot be used as a left operand of '!!'
What is that supposed to mean? Why do I have to write (result as Result<T>).getOrThrow()
for it to compile?dmitriy.novozhilov
01/23/2020, 10:33 AM