JVM IR: support inline classes with private constructors from other modules

#KT-44723 Fixed
This commit is contained in:
Alexander Udalov
2021-03-19 21:01:09 +01:00
parent dac218dc39
commit b5f9b1dfc0
12 changed files with 204 additions and 14 deletions
@@ -4460,6 +4460,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateCompanionObjectValInDifferentModule.kt");
}
@TestMetadata("privateConstructor.kt")
public void testPrivateConstructor() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateConstructor.kt");
}
@TestMetadata("privateConstructorWithPrivateField.kt")
public void testPrivateConstructorWithPrivateField() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateConstructorWithPrivateField.kt");
}
@TestMetadata("privateTopLevelValInDifferentModule.kt")
public void testPrivateTopLevelValInDifferentModule() throws Exception {
runTest("compiler/testData/codegen/box/compileKotlinAgainstKotlin/inlineClasses/privateTopLevelValInDifferentModule.kt");