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

Insert spacing after annotation #601

Conversation

yukukotani
Copy link
Contributor

@yukukotani yukukotani commented Oct 2, 2019

Fixes #559

Insert spacing after annotation.

Current

// No error
data class A(
    @Annotation(0)val property: Type 
)

Patched

data class A(
    // Missing spacing after @Annotation(0)
    @Annotation(0)val property: Type 
)

// Formatted
data class A(
    @Annotation(0) val property: Type 
)

Copy link
Collaborator

@Tapchicoma Tapchicoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@Tapchicoma Tapchicoma merged commit f82f133 into pinterest:master Oct 3, 2019
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 this pull request may close these issues.

Space between annotation and property declaration does not generate warning
2 participants