Fix IAE for wrong use-site @file annotation
#EA-100189 Fixed
This commit is contained in:
+2
-2
@@ -35,9 +35,9 @@ KtFile: withoutPackageWithSimpleAnnotation.kt
|
||||
PsiWhiteSpace('\n')
|
||||
ANNOTATION_ENTRY
|
||||
PsiElement(AT)('@')
|
||||
PsiErrorElement:@file annotations are only allowed before package declaration
|
||||
ANNOTATION_TARGET
|
||||
PsiElement(file)('file')
|
||||
PsiElement(COLON)(':')
|
||||
PsiElement(COLON)(':')
|
||||
PsiWhiteSpace(' ')
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
|
||||
Reference in New Issue
Block a user