IR: check type parameter bounds equality in overrides
The code is exactly the same as in K1's `OverridingUtil.areTypeParametersEquivalent`. #KT-63442 Fixed
This commit is contained in:
committed by
Space Team
parent
560c1cacf3
commit
fc7de5ab97
+18
@@ -18341,6 +18341,24 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/fir/flexibleStaticConstantFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds2.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds3.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("incorrectBytecodeWithEnhancedNullability.kt")
|
||||
public void testIncorrectBytecodeWithEnhancedNullability() throws Exception {
|
||||
|
||||
+18
@@ -19271,6 +19271,24 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/fir/flexibleStaticConstantFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds2.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds3.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getOnNullableTypeAlias.kt")
|
||||
public void testGetOnNullableTypeAlias() throws Exception {
|
||||
|
||||
+18
@@ -19271,6 +19271,24 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
runTest("compiler/testData/codegen/box/fir/flexibleStaticConstantFromJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds2.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("functionsDifferInTypeParameterBounds3.kt")
|
||||
public void testFunctionsDifferInTypeParameterBounds3() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/functionsDifferInTypeParameterBounds3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("getOnNullableTypeAlias.kt")
|
||||
public void testGetOnNullableTypeAlias() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user