10 lines
244 B
Kotlin
Vendored
10 lines
244 B
Kotlin
Vendored
// 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()
|
|
}
|