Support not boxing inline class of reference class
even if the class is other than Any. #KT-41429 In progress
This commit is contained in:
+15
-5
@@ -1426,11 +1426,6 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/nonLocalReturn.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/returnResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnUnitInLambda.kt")
|
||||
public void testReturnUnitInLambda_1_2() throws Exception {
|
||||
runTestWithPackageReplacement("compiler/testData/codegen/bytecodeText/coroutines/returnUnitInLambda.kt", "kotlin.coroutines.experimental");
|
||||
@@ -1586,6 +1581,21 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_InlineAny() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_InlineAny.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noInlineClassBoxingInSuspendFunReturn_String.kt")
|
||||
public void testNoInlineClassBoxingInSuspendFunReturn_String() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/noInlineClassBoxingInSuspendFunReturn_String.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnResult.kt")
|
||||
public void testReturnResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/returnResult.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnStringOverride.kt")
|
||||
public void testReturnStringOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/coroutines/inlineClasses/returnStringOverride.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/coroutines/intLikeVarSpilling")
|
||||
|
||||
Reference in New Issue
Block a user