18ea86cfb4
In2010b175, it was suggested just not to suggest parentheses removal. However, it contradicts with behaviour of "Replace contains" which adds semicolon before lambda in this case. So in this commit I made behaviour of remove parentheses the same. This commit reverts production part of2010b175Fixes failing test of "replace contains"
7 lines
63 B
Plaintext
Vendored
7 lines
63 B
Plaintext
Vendored
fun main() {
|
|
foo();
|
|
{ foo() }.invoke()
|
|
}
|
|
|
|
fun foo() {}
|