We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
main.kt:
fun foo() = 1
should either leave it as it is or indent it accordingly
running ktlint -F main.kt edits the file in the following way
ktlint -F main.kt
fun foo() 1
which changes the semantics of the code / makes it invalid
printf 'fun foo()\n=1' > /tmp/foo.kt ktlint -F /tmp/foo.kt cat /tmp/foo.kt
The text was updated successfully, but these errors were encountered:
Could not reproduce with current snapshot version. Most probably was fixed with #1039
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
main.kt:
should either leave it as it is or indent it accordingly
Observed Behavior
running
ktlint -F main.kt
edits the file in the following waywhich changes the semantics of the code / makes it invalid
Steps to Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: