-
Notifications
You must be signed in to change notification settings - Fork 510
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
Do not wrap a multiline spread operator expression *
#2188
Comments
*
Regression on the latest snapshot build
Output: Line must not begin with "*" (standard:chain-wrapping) |
Can you please try again? I fixed this problem earlier this morning in PR #2306 (snapshot version ktlint-cli-1.0.1-20231013.082432-20 and it seems that you are using a snapshot which was published a earlier today in which the problem actually existed. |
Can confirm it's fixed in ktlint-cli-1.0.1-20231013.082432-20. |
See https://kotlinlang.org/spec/expressions.html#spread-operator-expressions for
*
operator.Given code below:
then it is formatted like:
while it should have been kept unchanged. There is no sense in wrapping after the operator.
The text was updated successfully, but these errors were encountered: