K2: add various tests describing current KT-62554 / KT-63242 behavior
This commit is contained in:
committed by
Space Team
parent
17a1871b83
commit
54d978ba86
+54
@@ -21938,6 +21938,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/integerNotNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionWithJavaVoidNothing.kt")
|
||||
public void testIntersectionWithJavaVoidNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/intersectionWithJavaVoidNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisiblePackagePrivateInheritedMember.kt")
|
||||
public void testInvisiblePackagePrivateInheritedMember() throws Exception {
|
||||
@@ -22692,6 +22698,54 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
public void testSpecializedMap() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/specializedMap.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleType.kt")
|
||||
public void testTriangleWithFlexibleType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution2.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution3.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution4.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution5.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution5() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNotNullType.kt")
|
||||
public void testTriangleWithNotNullType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithNotNullType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNullableType.kt")
|
||||
public void testTriangleWithNullableType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithNullableType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+54
@@ -21944,6 +21944,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/integerNotNullable.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intersectionWithJavaVoidNothing.kt")
|
||||
public void testIntersectionWithJavaVoidNothing() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/intersectionWithJavaVoidNothing.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invisiblePackagePrivateInheritedMember.kt")
|
||||
public void testInvisiblePackagePrivateInheritedMember() throws Exception {
|
||||
@@ -22698,6 +22704,54 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
public void testSpecializedMap() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/specializedMap.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleType.kt")
|
||||
public void testTriangleWithFlexibleType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution2.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution3.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution3() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution3.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution4.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution4() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution4.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithFlexibleTypeAndSubstitution5.kt")
|
||||
public void testTriangleWithFlexibleTypeAndSubstitution5() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithFlexibleTypeAndSubstitution5.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNotNullType.kt")
|
||||
public void testTriangleWithNotNullType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithNotNullType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("triangleWithNullableType.kt")
|
||||
public void testTriangleWithNullableType() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/primitiveOverrides/triangleWithNullableType.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user