Support non-public inline class constructors

#KT-28056 Fixed
This commit is contained in:
Ilmir Usmanov
2020-11-02 04:06:46 +01:00
parent 88bbeea7f6
commit 1376fed1d4
13 changed files with 205 additions and 11 deletions
@@ -14967,6 +14967,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt");
}
@TestMetadata("constructorImplVisibility.kt")
public void testConstructorImplVisibility() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/constructorImplVisibility.kt");
}
@TestMetadata("correctBoxingForBranchExpressions.kt")
public void testCorrectBoxingForBranchExpressions() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/correctBoxingForBranchExpressions.kt");
@@ -867,6 +867,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/computablePropertiesInsideInlineClass.kt");
}
@TestMetadata("constructor.kt")
public void testConstructor() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/constructor.kt");
}
@TestMetadata("constructorsWithDefaultParameterValues.kt")
public void testConstructorsWithDefaultParameterValues() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/constructorsWithDefaultParameterValues.kt");
@@ -14982,6 +14982,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt");
}
@TestMetadata("constructorImplVisibility.kt")
public void testConstructorImplVisibility() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/constructorImplVisibility.kt");
}
@TestMetadata("correctBoxingForBranchExpressions.kt")
public void testCorrectBoxingForBranchExpressions() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/correctBoxingForBranchExpressions.kt");
@@ -13567,6 +13567,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/inlineClasses/conformToComparableAndCallInterfaceMethod.kt");
}
@TestMetadata("constructorImplVisibility.kt")
public void testConstructorImplVisibility() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/constructorImplVisibility.kt");
}
@TestMetadata("correctBoxingForBranchExpressions.kt")
public void testCorrectBoxingForBranchExpressions() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/correctBoxingForBranchExpressions.kt");
@@ -837,6 +837,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/computablePropertiesInsideInlineClass.kt");
}
@TestMetadata("constructor.kt")
public void testConstructor() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/constructor.kt");
}
@TestMetadata("constructorsWithDefaultParameterValues.kt")
public void testConstructorsWithDefaultParameterValues() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/inlineClasses/constructorsWithDefaultParameterValues.kt");