Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/kt44867.kt
T

10 lines
245 B
Kotlin
Vendored

// WITH_RUNTIME
// 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()
}