Fix exception happening while parsing an incorrect file

^KTIJ-21546 Fixed
This commit is contained in:
Denis.Zharkov
2022-04-15 10:01:02 +03:00
committed by teamcity
parent 989cef6c3c
commit b8ea48fdc2
4 changed files with 1078 additions and 1 deletions
@@ -161,6 +161,11 @@ public class ParsingTestGenerated extends AbstractParsingTest {
runTest("compiler/testData/psi/destructuringInLambdas_ERR.kt");
}
@TestMetadata("diagnosticTags_ERR.kt")
public void testDiagnosticTags_ERR() throws Exception {
runTest("compiler/testData/psi/diagnosticTags_ERR.kt");
}
@TestMetadata("DocCommentAfterFileAnnotations.kt")
public void testDocCommentAfterFileAnnotations() throws Exception {
runTest("compiler/testData/psi/DocCommentAfterFileAnnotations.kt");