JVM IR: Fix value class mangling in SAM wrappers from different modules

KT-49659
This commit is contained in:
Steven Schäfer
2021-11-11 13:47:26 +01:00
committed by Alexander Udalov
parent 771b79d045
commit a6dae0b37b
12 changed files with 68 additions and 6 deletions
@@ -15500,6 +15500,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/safeAsOfTypeParameterWithInlineClassBound.kt");
}
@Test
@TestMetadata("samWrapperDifferentModule.kt")
public void testSamWrapperDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/samWrapperDifferentModule.kt");
}
@Test
@TestMetadata("secondaryConstructorWithVararg.kt")
public void testSecondaryConstructorWithVararg() throws Exception {
@@ -15464,6 +15464,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/safeAsOfTypeParameterWithInlineClassBound.kt");
}
@Test
@TestMetadata("samWrapperDifferentModule.kt")
public void testSamWrapperDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/samWrapperDifferentModule.kt");
}
@Test
@TestMetadata("secondaryConstructorWithVararg.kt")
public void testSecondaryConstructorWithVararg() throws Exception {
@@ -12949,6 +12949,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inlineClasses/safeAsOfTypeParameterWithInlineClassBound.kt");
}
@TestMetadata("samWrapperDifferentModule.kt")
public void testSamWrapperDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/samWrapperDifferentModule.kt");
}
@TestMetadata("secondaryConstructorWithVararg.kt")
public void testSecondaryConstructorWithVararg() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/secondaryConstructorWithVararg.kt");