blob: c9636dfba59ad50dacba33f52129985fe79e4cab [file]
// WITH_STDLIB
// IGNORE_BACKEND: JVM
open class BaseWrapper<T>(val response: T)
class Wrapper(result: Result<String>) : BaseWrapper<Result<String>>(result)
fun box(): String {
return Wrapper(Result.success("OK")).response.getOrThrow()
}