Revert "KT-8263: Conditional operators are not parsed correctly"

This reverts commit ec8da2033c.

For the reason for the revert see KT-53719

^KT-8263 Open
^KT-53719 Fixed
This commit is contained in:
Denis.Zharkov
2022-08-25 18:13:21 +02:00
committed by teamcity
parent 154e53c701
commit 211d662708
37 changed files with 220 additions and 4849 deletions
@@ -32203,28 +32203,6 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/typeArguments")
@TestDataPath("$PROJECT_ROOT")
public class TypeArguments {
@Test
public void testAllFilesPresentInTypeArguments() throws Exception {
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/typeArguments"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("allowTypeArgumentListLikeExpressions.kt")
public void testAllowTypeArgumentListLikeExpressions() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeArguments/allowTypeArgumentListLikeExpressions.kt");
}
@Test
@TestMetadata("forbidTypeArgumentListLikeExpressions.kt")
public void testForbidTypeArgumentListLikeExpressions() throws Exception {
runTest("compiler/testData/diagnostics/tests/typeArguments/forbidTypeArgumentListLikeExpressions.kt");
}
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/typeParameters")
@TestDataPath("$PROJECT_ROOT")