Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
inlineClasses
/
kt44867.kt
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
()
}