FE: split test "buildList type argument is inferred into upper bound"

Related to KT-50520, KT-56169
This commit is contained in:
Mikhail Glukhikh
2023-03-14 11:15:44 +01:00
committed by Space Team
parent 8edf8573b5
commit ba2d896c01
8 changed files with 74 additions and 26 deletions
@@ -36936,6 +36936,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/builderInference"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("buildListToUpperBound.kt")
public void testBuildListToUpperBound() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/buildListToUpperBound.kt");
}
@Test
@TestMetadata("buildListToUpperBoundForbidden.kt")
public void testBuildListToUpperBoundForbidden() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/buildListToUpperBoundForbidden.kt");
}
@Test
@TestMetadata("completeIrrelevantCalls.kt")
public void testCompleteIrrelevantCalls() throws Exception {
@@ -36966,12 +36978,6 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/kt48445.kt");
}
@Test
@TestMetadata("kt50520.kt")
public void testKt50520() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/kt50520.kt");
}
@Test
@TestMetadata("resolveUsualCallWithBuilderInference.kt")
public void testResolveUsualCallWithBuilderInference() throws Exception {