K2: reproduce KT-63377 (+ consider some more cases)

This commit is contained in:
Mikhail Glukhikh
2023-11-22 15:34:58 +01:00
committed by Space Team
parent 2d76c7b05d
commit 99234ef1c5
8 changed files with 109 additions and 0 deletions
@@ -37476,6 +37476,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/typeParameters/kt46186withEmptyIntersections.kt");
}
@Test
@TestMetadata("memberTypeParameterVsNestedClass.kt")
public void testMemberTypeParameterVsNestedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass.kt");
}
@Test
@TestMetadata("misplacedConstraints.kt")
public void testMisplacedConstraints() throws Exception {
@@ -37476,6 +37476,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/typeParameters/kt46186withEmptyIntersections.kt");
}
@Test
@TestMetadata("memberTypeParameterVsNestedClass.kt")
public void testMemberTypeParameterVsNestedClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeParameters/memberTypeParameterVsNestedClass.kt");
}
@Test
@TestMetadata("misplacedConstraints.kt")
public void testMisplacedConstraints() throws Exception {