Revert "KT-8263: Conditional operators are not parsed correctly"
This reverts commit 85800b4f9f.
This commit is contained in:
-22
@@ -32143,28 +32143,6 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
}
|
||||
}
|
||||
|
||||
@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")
|
||||
|
||||
-22
@@ -32143,28 +32143,6 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
}
|
||||
}
|
||||
|
||||
@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")
|
||||
|
||||
Reference in New Issue
Block a user