GambitingMan 041f113159
Fixed error caused by combination of match_arm_blocks and control_brace_style
Fixes 5912

When `control_brace_style = "AlwaysNextLine"`, the code seems to always assume that `body_prefix` is `{`. This is however not the case when `match_arm_blocks = false`. This causes `block_sep` to introduce extra white space that causes the error.

The fix was to check if `body_prefix` is empty before matching on `ControlBraceStyle::AlwaysNextLine`.
2023-10-23 20:27:26 -04:00
..
2019-07-17 09:40:33 +09:00
2023-08-30 23:55:13 -04:00
2019-06-07 16:56:30 +09:00
2019-06-07 16:56:30 +09:00
2022-08-30 23:06:24 -04:00
2021-01-28 22:01:50 -06:00
2022-08-30 23:06:24 -04:00
2022-08-30 23:06:24 -04:00
2023-07-19 22:18:51 -05:00
2019-06-07 16:56:30 +09:00
2019-04-23 08:50:44 +09:00
2023-08-30 23:55:13 -04:00
2020-06-11 23:29:51 -05:00
2021-01-27 20:58:42 -06:00
2023-10-22 13:30:25 -05:00
2023-10-10 20:13:50 -05:00
2020-11-30 23:24:36 -06:00
2019-08-06 11:09:45 +09:00
2021-08-27 11:53:03 +00:00