Currently @ sign before attribute/annotation is not recognized properly and marked as unexpected token or another problem. In PsiViewer I could find for instance PsiErrorElement: expected <statement>, got '@' or PsiErrorElement:'@' unexpected
Expected Behavior
All function or struct attributes like @[direct_array_access], @[inline], @[packed], @[minify] or @[aligned] should be properly recognized.
Current Behavior
@ sign before attribute/annotation is not recognized
Reproduction Steps
@[inline]
fn inlinedFn() {
}
Possible Solution
No response
Additional Information/Context
No response
Environment details (v doctor output)
V 0.4.5 cf7dcfe.24af002
IDE Type (IDEA Community/Ultimate, GoLand, CLion, etc.)
Describe the bug
Currently @ sign before attribute/annotation is not recognized properly and marked as unexpected token or another problem. In PsiViewer I could find for instance
PsiErrorElement: expected <statement>, got '@'
orPsiErrorElement:'@' unexpected
Expected Behavior
All function or struct attributes like
@[direct_array_access]
,@[inline]
,@[packed]
,@[minify]
or@[aligned]
should be properly recognized.Current Behavior
@ sign before attribute/annotation is not recognized
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
Environment details (
v doctor
output)V 0.4.5 cf7dcfe.24af002
IDE Type (IDEA Community/Ultimate, GoLand, CLion, etc.)
Any/All