6c8e829f19
Alternative message for errors, caused by unexpected lambda expression arguments on a new line. Both diagnostic are reported, if multiple lambda expressions were passed to the call. For other errors trailing lambda diagnostic overrides the original one. Quickfix for erroneous trailing lambdas on a new line after call. Fix separates lambda expression from previous call with semicolon. All trailing lambda arguments become standalone lambda expressions.
8 lines
106 B
Plaintext
Vendored
8 lines
106 B
Plaintext
Vendored
// "Terminate preceding call with semicolon" "true"
|
|
|
|
fun foo() {}
|
|
|
|
fun test() {
|
|
foo()<caret>;
|
|
{}
|
|
} |