JVM_IR: do not generate two nullary constructors
when the primary constructor with @JvmOverloads has default values for all arguments.
This commit is contained in:
+5
@@ -14879,6 +14879,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/primaryConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primaryConstructorWithAllDefaults.kt")
|
||||
public void testPrimaryConstructorWithAllDefaults() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/primaryConstructorWithAllDefaults.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateClass.kt")
|
||||
public void testPrivateClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/privateClass.kt");
|
||||
|
||||
Reference in New Issue
Block a user