Box inline class return value in covariant override of suspend fun
This commit is contained in:
+140
@@ -7921,6 +7921,96 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/bridgeGenerationNonInline.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun.kt")
|
||||
public void testCovariantOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Any.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_Int.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt")
|
||||
public void testCovariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFunWithNullableInlineClass_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Any.kt")
|
||||
public void testCovariantOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("covariantOverrideSuspendFun_Int.kt")
|
||||
public void testCovariantOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/covariantOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun.kt")
|
||||
public void testGenericOverrideSuspendFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any.kt")
|
||||
public void testGenericOverrideSuspendFun_Any() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Any.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt")
|
||||
public void testGenericOverrideSuspendFun_Any_NullableInlineClassUpperBound() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Any_NullableInlineClassUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_Int.kt")
|
||||
public void testGenericOverrideSuspendFun_Int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_Int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableAny_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableAny_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableAny_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableInt.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericOverrideSuspendFun_NullableInt_null.kt")
|
||||
public void testGenericOverrideSuspendFun_NullableInt_null() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/coroutines/inlineClasses/genericOverrideSuspendFun_NullableInt_null.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("interfaceDelegateWithInlineClass.kt")
|
||||
public void testInterfaceDelegateWithInlineClass_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines.experimental");
|
||||
@@ -7930,6 +8020,56 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testInterfaceDelegateWithInlineClass_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/interfaceDelegateWithInlineClass.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun.kt", "kotlin.coroutines.experimental");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun.kt")
|
||||
public void testOverrideSuspendFun_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any.kt", "kotlin.coroutines.experimental");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any.kt")
|
||||
public void testOverrideSuspendFun_Any_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines.experimental");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_itf.kt")
|
||||
public void testOverrideSuspendFun_Any_itf_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_itf.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_this.kt", "kotlin.coroutines.experimental");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Any_this.kt")
|
||||
public void testOverrideSuspendFun_Any_this_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Any_this.kt", "kotlin.coroutines");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Int.kt", "kotlin.coroutines.experimental");
|
||||
}
|
||||
|
||||
@TestMetadata("overrideSuspendFun_Int.kt")
|
||||
public void testOverrideSuspendFun_Int_1_3() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/inlineClasses/overrideSuspendFun_Int.kt", "kotlin.coroutines");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/coroutines/intLikeVarSpilling")
|
||||
|
||||
Reference in New Issue
Block a user