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

No spacing around colon in annotation #2093

Closed
paul-dingemans opened this issue Jun 27, 2023 · 0 comments · Fixed by #2126
Closed

No spacing around colon in annotation #2093

paul-dingemans opened this issue Jun 27, 2023 · 0 comments · Fixed by #2126

Comments

@paul-dingemans
Copy link
Collaborator

paul-dingemans commented Jun 27, 2023

Spacing should not be allowed around the colon in annotation and annotation entries regardless of the annotation target

@file:JvmName("Foo") // allowed
@file :JvmName("Foo") // disallowed
@file: JvmName("Foo") // disallowed
@file : JvmName("Foo") // disallowed

@set:[Inject VisibleForTesting] // allowed
@set :[Inject VisibleForTesting] // disallowed
@set: [Inject VisibleForTesting] // disallowed
@set : [Inject VisibleForTesting] // disallowed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant