dfmt icon indicating copy to clipboard operation
dfmt copied to clipboard

Invalid indentiation in code using struct brace initialization

Open helikopterodaktyl opened this issue 4 years ago • 0 comments

Tested with dfmt 0.13.2. Look at attached file which is both a repro case and example of incorrect formatting. Pay attention especially to the indentation of "createPipelineLayout" function.

repro.txt

I was unable to reduce my code further, because reducing code further seems to be resolving the issue.

helikopterodaktyl avatar Oct 17 '20 13:10 helikopterodaktyl