why does the compiler emit a warning here, on Resu...
# announcements
i
why does the compiler emit a warning here, on Result's
T
?
Copy code
sealed class Result<out T>
data class Success<out T>(val value: T): Result<T>()
data class Error<out T>(val msg: String): Result<T>()