JVM IR: Resolve fake overrides when calculating return types (KT-44867)
This commit is contained in:
committed by
Alexander Udalov
parent
cae95b1ba0
commit
d0424465b8
@@ -0,0 +1,9 @@
|
||||
// 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()
|
||||
}
|
||||
Reference in New Issue
Block a user