IR: use inlineClassRepresentation in getInlineClassUnderlyingType
Looking for the primary constructor manually doesn't work if it's private in the other module on JVM, because private declarations are skipped in IrLazyClass.
This commit is contained in:
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -13816,6 +13816,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateConstructorFunInterfaceMultiModule.kt")
|
||||
public void testPrivateConstructorFunInterfaceMultiModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/privateConstructorFunInterfaceMultiModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyLoweringOrder.kt")
|
||||
public void testPropertyLoweringOrder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/propertyLoweringOrder.kt");
|
||||
|
||||
Generated
+5
@@ -13222,6 +13222,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateConstructorFunInterfaceMultiModule.kt")
|
||||
public void testPrivateConstructorFunInterfaceMultiModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/privateConstructorFunInterfaceMultiModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyLoweringOrder.kt")
|
||||
public void testPropertyLoweringOrder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/propertyLoweringOrder.kt");
|
||||
|
||||
Generated
+5
@@ -13287,6 +13287,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateConstructorFunInterfaceMultiModule.kt")
|
||||
public void testPrivateConstructorFunInterfaceMultiModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/privateConstructorFunInterfaceMultiModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyLoweringOrder.kt")
|
||||
public void testPropertyLoweringOrder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/propertyLoweringOrder.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -7277,6 +7277,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/passInlineClassWithSpreadOperatorToVarargs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateConstructorFunInterfaceMultiModule.kt")
|
||||
public void testPrivateConstructorFunInterfaceMultiModule() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/privateConstructorFunInterfaceMultiModule.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("propertyLoweringOrder.kt")
|
||||
public void testPropertyLoweringOrder() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/propertyLoweringOrder.kt");
|
||||
|
||||
Reference in New Issue
Block a user