[FE] Allow @OptionalExpectation to be present only on expect

^KT-58551
This commit is contained in:
Roman Efremov
2023-06-22 16:37:20 +02:00
committed by Space Team
parent 1a4ab9bb4b
commit b6cae1adcc
5 changed files with 34 additions and 0 deletions
@@ -22819,6 +22819,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/kotlinAnaloguesForJavaAnnotations.kt");
}
@Test
@TestMetadata("optionalExpectation.kt")
public void testOptionalExpectation() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/annotationMatching/optionalExpectation.kt");
}
@Test
@TestMetadata("typealias.kt")
public void testTypealias() throws Exception {