Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/kt44867.kt
T
2022-01-01 20:04:44 +02:00

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