You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample above is also accepted by the IntelliJ IDEA default code formatter. In #2121 a new rule is to be created which will wrap the first parameter of the lambda in case the lambda has multiline parameters list, or in case the single line parameter list does not fit on the same as the opening brace of the lambda.
Expected Behavior
The code fragment (below) formatted with the default IDE settings. It shouldn't raise "Unexpected indentation" error.
Observed Behavior
ktlint reports the following errors:
Steps to Reproduce
Code example:
test.kt:413
corresponds to theb: Int ->
line.Your Environment
Content of . editorconfig
P.S. Not sure if it's a duplicate for #1935
The text was updated successfully, but these errors were encountered: