Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@ sign before attribute/annotation is not recognized #3

Closed
Krotki opened this issue Apr 11, 2024 · 0 comments
Closed

@ sign before attribute/annotation is not recognized #3

Krotki opened this issue Apr 11, 2024 · 0 comments

Comments

@Krotki
Copy link
Contributor

Krotki commented Apr 11, 2024

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 '@' 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.)

Any/All

@Krotki Krotki changed the title (bug report summary) @ sign before attribute/annotation is not recognized Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants