JS: fix object expression constructor delegation to secondary constructors with default arguments (KT-30517 fixed)
This commit is contained in:
committed by
Anton Bannykh
parent
419d414681
commit
9a971172c9
+10
@@ -9234,6 +9234,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt2852.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt30517.kt")
|
||||
public void testKt30517() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt30517.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3060.kt")
|
||||
public void testKt3060() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt3060.kt");
|
||||
@@ -9243,6 +9248,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testManyArgs() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/manyArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("objectExpressionDelegatingToSecondaryConstructor.kt")
|
||||
public void testObjectExpressionDelegatingToSecondaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/objectExpressionDelegatingToSecondaryConstructor.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/defaultArguments/convention")
|
||||
|
||||
Reference in New Issue
Block a user