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
package com.test
import kotlin.String
public class HelloWorld {
public constructor(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: String, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy: String)
: this(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy,
thisIsAMethodThatUsesALambdaAndReturnsSomethingForTheConstructor {
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz()
}
)
}
If this() is counted as the 1st line, then the 2nd and 3rd lines are aligned vertically with the colon but they should be more indented than that, because the this() call opened a new nesting level like it was a statement call. And what follows inside the method call in the 4th and 5th lines should be indented even more but it's actually going backwards.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I use .callThisConstructor to have one constructor call another one, it looks formatting was forgotten.
To Reproduce
This prints:
If this() is counted as the 1st line, then the 2nd and 3rd lines are aligned vertically with the colon but they should be more indented than that, because the this() call opened a new nesting level like it was a statement call. And what follows inside the method call in the 4th and 5th lines should be indented even more but it's actually going backwards.
The text was updated successfully, but these errors were encountered: