Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting issue with struct variable and "&&" #84

Open
D0ge42 opened this issue Jan 6, 2025 · 3 comments
Open

Formatting issue with struct variable and "&&" #84

D0ge42 opened this issue Jan 6, 2025 · 3 comments

Comments

@D0ge42
Copy link

D0ge42 commented Jan 6, 2025

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.

@RayRemnant
Copy link

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

@cacharle
Copy link
Collaborator

cacharle commented Jan 9, 2025

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

@cacharle
Copy link
Collaborator

cacharle commented Jan 9, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants