KT-37986 Force boxing of inline class returned from function reference

KT-37998 Provide KotlinType for safe call
This commit is contained in:
Dmitry Petrov
2020-04-03 16:31:00 +03:00
parent 5ed845d0b4
commit d5ace43614
11 changed files with 131 additions and 16 deletions
@@ -13724,6 +13724,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt34268.kt");
}
@TestMetadata("kt37998.kt")
public void testKt37998() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt37998.kt");
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");
@@ -14088,6 +14093,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testInlineClassTypeTopLevelVar() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/inlineClassTypeTopLevelVar.kt");
}
@TestMetadata("kt37986.kt")
public void testKt37986() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/callableReferences/kt37986.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/inlineClasses/contextsAndAccessors")