c_formatter_42 icon indicating copy to clipboard operation
c_formatter_42 copied to clipboard

Formatting issue with struct variable and "&&"

Open 70N618 opened this issue 1 year ago • 4 comments

Screenshot from 2025-01-06 01-11-01

When using an autoformatter on a file with structs, the '&&' operator might be joined to the struct variable.

70N618 avatar Jan 06 '25 00:01 70N618

Apri questa Pull Request e facci vedere come si fá. Daje forza Roma.

RayRemnant avatar Jan 07 '25 22:01 RayRemnant

Yes, open a PR and dig throught cluster fuck complicated regular expressions! you know you want it! Daje forza Roma.

cacharle avatar Jan 09 '25 13:01 cacharle

more seriously, you could add a simple unit test (that fails on master) and use git-bisect to find the commit which made this case fail. I will narrow your search space quite a bit

cacharle avatar Jan 09 '25 13:01 cacharle