Report syntax error on unescaped annotation
Also adjust parser testData
This commit is contained in:
+3
-1
@@ -187,6 +187,8 @@ JetFile: Properties_ERR.kt
|
||||
PsiWhiteSpace(' ')
|
||||
PROPERTY
|
||||
MODIFIER_LIST
|
||||
PsiErrorElement:Use '@' symbol before annotations
|
||||
<empty list>
|
||||
ANNOTATION_ENTRY
|
||||
CONSTRUCTOR_CALLEE
|
||||
TYPE_REFERENCE
|
||||
@@ -226,4 +228,4 @@ JetFile: Properties_ERR.kt
|
||||
<empty list>
|
||||
PsiWhiteSpace(' ')
|
||||
PsiErrorElement:Property getter or setter expected
|
||||
PsiElement(MINUS)('-')
|
||||
PsiElement(MINUS)('-')
|
||||
Reference in New Issue
Block a user