JVM_IR: Unbox argument of type kotlin.Result
if the argument has different type in parent: either generic or Any. #KT-41163 Fixed #KT-43536 Fixed
This commit is contained in:
-2
@@ -1,7 +1,5 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
fun <T> foo(a: Result<T>): T = bar(a) {
|
||||
it.getOrThrow()
|
||||
|
||||
Reference in New Issue
Block a user