This PR basically is a re-implementation of #767: Instead of unconditionally omitting braces for the final function argument, we set layout-based brace information in do blocks (statements) only for all but the last statement. This means that the brace information is now properly propagated in cases like #1044.
Closes #1044
This PR basically is a re-implementation of #767: Instead of unconditionally omitting braces for the final function argument, we set layout-based brace information in
do
blocks (statements) only for all but the last statement. This means that the brace information is now properly propagated in cases like #1044.