JVM_IR: handle type parameters in constructors for @JvmOverloads stubs
This commit is contained in:
+5
@@ -15152,6 +15152,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/companionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithTypeParams.kt")
|
||||
public void testConstructorWithTypeParams() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/constructorWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultsNotAtEnd.kt")
|
||||
public void testDefaultsNotAtEnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt");
|
||||
|
||||
+5
@@ -15152,6 +15152,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/companionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithTypeParams.kt")
|
||||
public void testConstructorWithTypeParams() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/constructorWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultsNotAtEnd.kt")
|
||||
public void testDefaultsNotAtEnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt");
|
||||
|
||||
+5
@@ -14037,6 +14037,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/companionObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithTypeParams.kt")
|
||||
public void testConstructorWithTypeParams() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/constructorWithTypeParams.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("defaultsNotAtEnd.kt")
|
||||
public void testDefaultsNotAtEnd() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt");
|
||||
|
||||
@@ -181,20 +181,5 @@ public class IrJsTextTestCaseGenerated extends AbstractIrJsTextTestCase {
|
||||
public void testAllFilesPresentInScripting() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/irJsText/scripting"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("arrayAssignment.kts")
|
||||
public void testArrayAssignment() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/scripting/arrayAssignment.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("fun.kts")
|
||||
public void testFun() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/scripting/fun.kts");
|
||||
}
|
||||
|
||||
@TestMetadata("safeCalls.kts")
|
||||
public void testSafeCalls() throws Exception {
|
||||
runTest("compiler/testData/ir/irJsText/scripting/safeCalls.kts");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user