JVM IR: add test for complex generic diamond hierarchy
This is a test for KT-43832, which is fixed in the previous commit.
This commit is contained in:
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -25592,6 +25592,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/traits/doubleDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doubleGenericDiamond.kt")
|
||||
public void testDoubleGenericDiamond() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleGenericDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethod.kt")
|
||||
public void testGenericMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/genericMethod.kt");
|
||||
|
||||
Generated
+5
@@ -25592,6 +25592,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doubleGenericDiamond.kt")
|
||||
public void testDoubleGenericDiamond() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleGenericDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethod.kt")
|
||||
public void testGenericMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/genericMethod.kt");
|
||||
|
||||
Generated
+5
@@ -25592,6 +25592,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doubleGenericDiamond.kt")
|
||||
public void testDoubleGenericDiamond() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleGenericDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethod.kt")
|
||||
public void testGenericMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/genericMethod.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -13890,6 +13890,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/traits/doubleDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doubleGenericDiamond.kt")
|
||||
public void testDoubleGenericDiamond() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/doubleGenericDiamond.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMethod.kt")
|
||||
public void testGenericMethod() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/traits/genericMethod.kt");
|
||||
|
||||
Reference in New Issue
Block a user