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 parentheses does not trigger a warning #223

Closed
vanniktech opened this issue Jun 9, 2018 · 1 comment
Closed

Space between parentheses does not trigger a warning #223

vanniktech opened this issue Jun 9, 2018 · 1 comment

Comments

@vanniktech
Copy link
Contributor

I'd expect fun test( ) = Unit to be triggered since the space between the parentheses is not necessary. Also when using the autoformatting feature it should be transformed into fun test() = Unit.

MyDogTom added a commit to MyDogTom/ktlint that referenced this issue Jun 20, 2018
New rule forbids redundant spaces between parentheses. Fixes pinterest#223
MyDogTom added a commit to MyDogTom/ktlint that referenced this issue Jun 20, 2018
New rule forbids redundant spaces between parentheses. Fixes pinterest#223
@shyiko
Copy link
Collaborator

shyiko commented Jun 23, 2018

Fixed in 0.24.0.

@shyiko shyiko closed this as completed Jun 23, 2018
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