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
@@ -30478,12 +30478,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
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 {
|
||||
@@ -37374,6 +37368,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
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 {
|
||||
@@ -37482,6 +37488,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
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
@@ -30478,12 +30478,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
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 {
|
||||
@@ -37374,6 +37368,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
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 {
|
||||
@@ -37482,6 +37488,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
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