Minor. Add tests with same JvmType in covariant override
This commit is contained in:
+1
-1
@@ -472,7 +472,7 @@ fun FunctionDescriptor.originalReturnTypeOfSuspendFunctionReturningUnboxedInline
|
||||
if (AsmUtil.isPrimitive(typeMapper.mapType(originalReturnType.makeNotNullable()))) return null
|
||||
// Force boxing for nullable inline class types with nullable underlying type
|
||||
if (originalReturnType.isMarkedNullable && originalReturnType.isNullableUnderlyingType()) return null
|
||||
// Force boxing if the function overrides function with return type Any
|
||||
// Force boxing if the function overrides function with different type modulo nullability
|
||||
if (originalDescriptor.overriddenDescriptors.any {
|
||||
(it.original.returnType?.isMarkedNullable == true && it.original.returnType?.isNullableUnderlyingType() == true) ||
|
||||
it.original.returnType?.makeNotNullable() != originalReturnType.makeNotNullable()
|
||||
|
||||
Generated
+30
@@ -7518,11 +7518,21 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -7725,11 +7735,21 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -7932,11 +7952,21 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = IC(Wrapper("OK"))
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String = ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var result = "FAIL 1"
|
||||
builder {
|
||||
result = Test().test1()
|
||||
}
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2 "
|
||||
builder {
|
||||
result = Test().test2()
|
||||
}
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I?
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = IC(Wrapper("OK"))
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String {
|
||||
return ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var result = "FAIL"
|
||||
builder {
|
||||
result = Test().test1()
|
||||
}
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2"
|
||||
builder {
|
||||
result = Test().test2()
|
||||
}
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I
|
||||
}
|
||||
|
||||
var c: Continuation<Any>? = null
|
||||
|
||||
suspend fun <T> suspendMe(): T = suspendCoroutine {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
c = it as Continuation<Any>
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = suspendMe()
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String = ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var result = "FAIL 1"
|
||||
builder {
|
||||
result = Test().test1()
|
||||
}
|
||||
c?.resume(IC(Wrapper("OK")))
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2 "
|
||||
builder {
|
||||
result = Test().test2()
|
||||
}
|
||||
c?.resume(IC(Wrapper("OK")))
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(EmptyContinuation)
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I?
|
||||
}
|
||||
|
||||
var c: Continuation<Any>? = null
|
||||
|
||||
suspend fun <T> suspendMe(): T = suspendCoroutine {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
c = it as Continuation<Any>
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = suspendMe()
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String {
|
||||
return ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
var result = "FAIL"
|
||||
builder {
|
||||
result = Test().test1()
|
||||
}
|
||||
c?.resume(IC(Wrapper("OK")))
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2"
|
||||
builder {
|
||||
result = Test().test2()
|
||||
}
|
||||
c?.resume(IC(Wrapper("OK")))
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
var result = "FAIL"
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(handleExceptionContinuation {
|
||||
result = it.message!!
|
||||
})
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I
|
||||
}
|
||||
|
||||
var c: Continuation<Any>? = null
|
||||
|
||||
suspend fun <T> suspendMe(): T = suspendCoroutine {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
c = it as Continuation<Any>
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = suspendMe()
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String = ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
builder {
|
||||
Test().test1()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2 "
|
||||
builder {
|
||||
Test().test2()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
|
||||
import helpers.*
|
||||
import kotlin.coroutines.*
|
||||
|
||||
var result = "FAIL"
|
||||
|
||||
fun builder(c: suspend () -> Unit) {
|
||||
c.startCoroutine(handleExceptionContinuation {
|
||||
result = it.message!!
|
||||
})
|
||||
}
|
||||
|
||||
interface I
|
||||
|
||||
@Suppress("UNSUPPORTED_FEATURE")
|
||||
inline class IC(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
interface IBar {
|
||||
suspend fun bar(): I?
|
||||
}
|
||||
|
||||
var c: Continuation<Any>? = null
|
||||
|
||||
suspend fun <T> suspendMe(): T = suspendCoroutine {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
c = it as Continuation<Any>
|
||||
}
|
||||
|
||||
class Test() : IBar {
|
||||
override suspend fun bar(): IC = suspendMe()
|
||||
|
||||
suspend fun test1(): String {
|
||||
val b: IBar = this
|
||||
return ((b.bar() as IC).i as Wrapper).s
|
||||
}
|
||||
|
||||
suspend fun test2(): String {
|
||||
return ((bar() as IC).i as Wrapper).s
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
builder {
|
||||
Test().test1()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
if (result != "OK") return "FAIL 1 $result"
|
||||
|
||||
result = "FAIL2"
|
||||
builder {
|
||||
Test().test2()
|
||||
}
|
||||
c?.resumeWithException(IllegalStateException("OK"))
|
||||
if (result != "OK") return "FAIL 2 $result"
|
||||
|
||||
return result
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
interface I
|
||||
|
||||
inline class ICI(val i: I): I
|
||||
|
||||
class Wrapper(val s: String): I
|
||||
|
||||
suspend fun suspendICI(): ICI = ICI(Wrapper(""))
|
||||
suspend fun suspendI(): I = ICI(Wrapper(""))
|
||||
suspend fun <T> suspendGeneric(x: T): T = x
|
||||
|
||||
fun useICString(x: ICI) {}
|
||||
fun useI(x: I) {}
|
||||
|
||||
suspend fun test() {
|
||||
useICString(suspendICI())
|
||||
useICString(suspendGeneric(ICI(Wrapper(""))))
|
||||
useI(suspendI())
|
||||
useI(suspendICI())
|
||||
}
|
||||
|
||||
// -- 1 in 'suspendAny(): I = ICI("")'
|
||||
// -- 1 in 'useI(suspendICI())'
|
||||
// -- 1 in 'suspendGeneric(ICI(""))'
|
||||
// 3 INVOKESTATIC ICI\.box-impl
|
||||
|
||||
// -- 1 in 'useICI(suspendGeneric(ICI("")))
|
||||
// -- 1 in 'equals-impl' for ICI
|
||||
// -- 2 in resume path of suspendICI
|
||||
// 4 INVOKEVIRTUAL ICI\.unbox-impl
|
||||
+30
@@ -8283,11 +8283,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -8575,11 +8585,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -8867,11 +8887,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
@@ -1582,6 +1582,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_InlineAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineClassBoxingInSuspendFunReturn_SameJvmType.kt")
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_SameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_SameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineClassBoxingInSuspendFunReturn_String.kt")
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_String() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_String.kt");
|
||||
|
||||
+30
@@ -8283,11 +8283,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -8575,11 +8585,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -8867,11 +8887,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
+30
@@ -7518,11 +7518,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -7725,11 +7735,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -7932,11 +7952,21 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
+5
@@ -1587,6 +1587,11 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_InlineAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineClassBoxingInSuspendFunReturn_SameJvmType.kt")
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_SameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_SameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineClassBoxingInSuspendFunReturn_String.kt")
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_String() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_String.kt");
|
||||
|
||||
Generated
+30
@@ -6338,11 +6338,21 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6545,11 +6555,21 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6752,11 +6772,21 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
Generated
+30
@@ -6338,11 +6338,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6545,11 +6555,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6752,11 +6772,21 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
+30
@@ -6338,11 +6338,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/direct/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6545,11 +6555,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resume/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
@@ -6752,11 +6772,21 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClassSameJvmType() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClassSameJvmType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/resumeWithException/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
|
||||
Reference in New Issue
Block a user