-
Notifications
You must be signed in to change notification settings - Fork 503
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
Wrong parameter list wrapping #1119
Comments
Maybe the same bug:
tasks.test {
systemProperties = mutableMapOf(
"junit.jupiter.displayname.generator.default" to
"org.junit.jupiter.api.DisplayNameGenerator\$ReplaceUnderscores",
"junit.jupiter.execution.parallel.enabled" to
doParallelTesting.toString() as Any,
"junit.jupiter.execution.parallel.mode.default" to
"concurrent",
"junit.jupiter.execution.parallel.mode.classes.default" to
"concurrent"
)
}
Works fine for 0.40.0, bug was introduced in 0.41.0 |
Another example (likely the same issue):
This gives However, a similar example:
has no errors. |
Only the indentation rule should emit warnings about incorrect indentation to avoid conflicting warnings from different rules about the indentation of the exact same line. However, those other rules should still fix the indentation as good as they can for the case that the indent rule is not run at all. Closes pinterest#1267, pinterest#1119, pinterest#1045
Expected Behavior
IntelliJ formats a top-level function like that:
Observed Behavior
KtLint complains about:
Changing the function to:
will trigger these errors:
Steps to Reproduce
See sample above.
Your Environment
indent_size = 2
The text was updated successfully, but these errors were encountered: