Is it possible? How can I expain to the compiler that its the same type (BR) extending the same class? The code bellow fails
class BaseRepository<BR: BaseResponse>() {
sealed class BaseSealedResponse {
open class Success(val receivedValue: BR)
open class RequestError(val error: HttpException)
}
}