Drop obsolete annotations syntax
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ object Foo private () : Bar {
|
||||
|
||||
}
|
||||
|
||||
object Foo [foo] private [bar()] ()
|
||||
object Foo @[foo] private @[bar()] ()
|
||||
@@ -72,6 +72,7 @@ JetFile: ConstructorModifiers.kt
|
||||
PRIMARY_CONSTRUCTOR
|
||||
MODIFIER_LIST
|
||||
ANNOTATION
|
||||
PsiElement(AT)('@')
|
||||
PsiElement(LBRACKET)('[')
|
||||
ANNOTATION_ENTRY
|
||||
CONSTRUCTOR_CALLEE
|
||||
@@ -84,6 +85,7 @@ JetFile: ConstructorModifiers.kt
|
||||
PsiElement(private)('private')
|
||||
PsiWhiteSpace(' ')
|
||||
ANNOTATION
|
||||
PsiElement(AT)('@')
|
||||
PsiElement(LBRACKET)('[')
|
||||
ANNOTATION_ENTRY
|
||||
CONSTRUCTOR_CALLEE
|
||||
|
||||
@@ -4,4 +4,4 @@ public class Bar
|
||||
|
||||
object Foo
|
||||
|
||||
[foo] class Bar
|
||||
@[foo] class Bar
|
||||
@@ -26,6 +26,7 @@ JetFile: FollowedByModifiers.kt
|
||||
CLASS
|
||||
MODIFIER_LIST
|
||||
ANNOTATION
|
||||
PsiElement(AT)('@')
|
||||
PsiElement(LBRACKET)('[')
|
||||
ANNOTATION_ENTRY
|
||||
CONSTRUCTOR_CALLEE
|
||||
|
||||
Reference in New Issue
Block a user