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

Space between annotation and property declaration does not generate warning #559

Closed
vielasis opened this issue Aug 15, 2019 · 0 comments · Fixed by #601
Closed

Space between annotation and property declaration does not generate warning #559

vielasis opened this issue Aug 15, 2019 · 0 comments · Fixed by #601

Comments

@vielasis
Copy link

I assume this is a bug because the IDE (IntelliJ) auto-formats this properly.

// Actual
data class A(
    @Annotation(...)val property: Type 
)

Is not flagged by ktlint 0.34.0

// Expected proper formatting
data class A(
    @Annotation(...) val property: Type 
)
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

Successfully merging a pull request may close this issue.

1 participant