Assuming the following code:
~~~~
auto foo( bar( value1,
[]() {
return 42;
} );
auto foo( bar(
value1,
[]() {
return 42;
} );
~~~~
and using the following settings:
astyle --style=java --add-brackets --indent-col1-comments --break-blocks --pad-oper --pad-paren-in --unpad-paren --indent-namespaces --align-pointer=type --align-reference=type --convert-tabs --lineend=windows testcase.cpp
I get the following misbehaviour. For the intended result see above.
~~~~
auto foo( bar( value1,
[]() {
return 42;
} );
auto foo( bar(
value1,
[]() {
return 42;
} );
~~~~
I have the same issue. Is there anything we can do to help its resolution?
Please check the latest 3.3 beta release.