Return kotlin ctor mapped to a java ctor even if java ctor is synthetic
This allows working with constructors with inline class parameters using Kotlin reflection, as described in https://youtrack.jetbrains.com/issue/KT-27429#focus=streamItem-27-3161148-0-0 #KT-27913 #KT-27429
This commit is contained in:
+5
@@ -20200,6 +20200,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/constructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithInlineClassParameters.kt")
|
||||
public void testConstructorWithInlineClassParameters() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/constructorWithInlineClassParameters.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionProperty.kt")
|
||||
public void testExtensionProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/extensionProperty.kt");
|
||||
|
||||
Reference in New Issue
Block a user