f1934fa49d
Quickfix wasn't aware of cases, when expression to be fixed is a part of parent call expression or dot-qualified expression. Incorrect position for extracting trailing lambdas led to broken formatting. #KT-34694 Fixed
8 lines
155 B
Kotlin
Vendored
8 lines
155 B
Kotlin
Vendored
// "Terminate preceding call with semicolon" "true"
|
|
|
|
fun foo() {
|
|
{ "first" }.invoke()
|
|
// comment and formatting
|
|
{<caret> "second" }.invoke()
|
|
}
|