K2: add some more tests around KT-63377 and KT-58028
This commit is contained in:
committed by
Space Team
parent
99234ef1c5
commit
4e938d852c
+24
-6
@@ -28460,12 +28460,6 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter.kt")
|
||||
public void testCompanionPropertyAndTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/companionPropertyAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorVsCompanion.kt")
|
||||
public void testConstructorVsCompanion() throws Exception {
|
||||
@@ -35248,6 +35242,18 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/cannotHaveManyClassUpperBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter.kt")
|
||||
public void testCompanionPropertyAndTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/companionPropertyAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter2.kt")
|
||||
public void testCompanionPropertyAndTypeParameter2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/companionPropertyAndTypeParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecatedSyntax.kt")
|
||||
public void testDeprecatedSyntax() throws Exception {
|
||||
@@ -35356,6 +35362,18 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeParameterVsNestedClass2.kt")
|
||||
public void testMemberTypeParameterVsNestedClass2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeParameterVsNestedClassReference.kt")
|
||||
public void testMemberTypeParameterVsNestedClassReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("misplacedConstraints.kt")
|
||||
public void testMisplacedConstraints() throws Exception {
|
||||
|
||||
+24
-6
@@ -28472,12 +28472,6 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/capturedTypesInLambdaParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter.kt")
|
||||
public void testCompanionPropertyAndTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/resolve/companionPropertyAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("constructorVsCompanion.kt")
|
||||
public void testConstructorVsCompanion() throws Exception {
|
||||
@@ -35368,6 +35362,18 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/cannotHaveManyClassUpperBounds.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter.kt")
|
||||
public void testCompanionPropertyAndTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/companionPropertyAndTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("companionPropertyAndTypeParameter2.kt")
|
||||
public void testCompanionPropertyAndTypeParameter2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/companionPropertyAndTypeParameter2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecatedSyntax.kt")
|
||||
public void testDeprecatedSyntax() throws Exception {
|
||||
@@ -35476,6 +35482,18 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeParameterVsNestedClass2.kt")
|
||||
public void testMemberTypeParameterVsNestedClass2() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("memberTypeParameterVsNestedClassReference.kt")
|
||||
public void testMemberTypeParameterVsNestedClassReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClassReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("misplacedConstraints.kt")
|
||||
public void testMisplacedConstraints() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user