KT-8263: Conditional operators are not parsed correctly
This commit is contained in:
+22
@@ -32149,6 +32149,28 @@ 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")
|
||||
|
||||
Reference in New Issue
Block a user